study

Unspecified error请帮忙~

上一篇 / 下一篇  2009-04-13 10:57:51 / 个人分类:测试工具学习

大家好,我在编写脚本时遇到以下错误,请求帮忙~
相关脚本如下:
Browser("用户登录").Page("集团资金管理系统").Frame("Frame_2").Link("待办任务").Click
Dim rows,innertext
rows=Browser("用户登录").Page("集团资金管理系统").Frame("content_9").WebTable("编号").RowCount
If  rows>=2  Then
       innertext=Browser("用户登录").Page("集团资金管理系统").Frame("content_9").WebTable("编号").GetCellData(2,2)        'msgbox innertext
Browser("用户登录").Page("集团资金管理系统").Frame("content_4").Link("text:="&innertext,"index:=0").Click
'Browser("用户登录").Page("集团资金管理系统").Frame("content_9").WebTable("编号").Check CheckPoint("编号")
'Browser("用户登录").Page("集团资金管理系统").Frame("content_4").Link("过程3").Click
Browser("用户登录").Page("集团资金管理系统").Frame("content_5").WebEdit("amount").Set DataTable("amount_de", dtLocalSheet)
Browser("用户登录").Page("集团资金管理系统").Frame("content_5").WebButton("通过").Click
else
Reporter.ReportEvent micPass,"无待办任务","待办审批失败"
end if

 

运行到上述红色标记时,总是报错,提示信息为:Unspecified error

可是平常也是这么定义的,没有出错,实在找不到什么错。请求帮忙,谢谢~


TAG: error QTP Unspecified qtp

血樱狂飙的个人空间 引用 删除 Jay-Yang84   /   2009-04-22 17:51:03
Please refer "http://www.sqaforums.com/showflat.php?Cat=0&Number=360893&an=&page=0&vc=1"

And seems the final solution is:
1)Amount of disk space to use for Temporary internet files folder has reduced to 1 Mb
2) At the end of each script we called a function which will clear the temp files..

Hope it can help you. Give me result if you resolve the problem.
 

评分:0

我来说两句

xlluo

xlluo

努力++,往自动化测试方向发展~~~~

日历

« 2024-04-26  
 123456
78910111213
14151617181920
21222324252627
282930    

数据统计

  • 访问量: 8525
  • 日志数: 17
  • 建立时间: 2009-01-09
  • 更新时间: 2011-12-23

RSS订阅

Open Toolbar