51Testing软件测试论坛

标题: rtgap.dll function GAPTaskExecute failed [打印本页]

作者: hawkhao    时间: 2004-9-22 17:11
标题: rtgap.dll function GAPTaskExecute failed
Hi;各位XDJM:
  下面的这个错误真正的原因式什么,请各位高人指点:
ROBOT回放时出现的错误:rtgap.dll function GAPTaskExecute  failed.
运行场景描述:
平台:WIN2K(English)+Robot(2003 fixed) +Oracle 8i
       测试页面中有一个文本框,要求在文本框中输入文字信息,然后使用剪贴板来验证输入信息是否与输入的一致。执行结果中Log输出正常,可是在Log中同样有一项是Informational 就是”rtgap.dll function GAPTaskExecute  failed“
请指教!
作者: ingenuity    时间: 2006-7-26 09:22
Problem
When running a GUI script with a function call which uses custom DLL(s) declared in a header file (SBH file) from Rational® TestManager, the test passes with an information message of:
Rational TestManager: [22.24.6.2]: rtgap.dll function GAPTaskExecute failed

These DLL(s) are put in the dll folder of the project's datastore, and the project location is specified with the UNC path.
When running the same script from Rational® Robot, there is no error message.
When running a script without a function call from Rational TestManager, there is no error message.  
  
Cause
When running a GUI script with a function call which uses custom DLL(s) in a SBH file from Rational TestManager, you need to specify the complete path to the DLL(s).  
  
Solution
To resolve the issue, the user can do either of the following;
1. Declare with the complete path name of the DLL(s)
2. Declare "dll\xxx.dll" in the SBH file when the custom DLL(s) files are put in the dll folder of the project's TestDatastore




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2