Telerik Test Studio摸索笔记(十二)

上一篇 / 下一篇  2012-02-23 09:46:59 / 个人分类:Test Studio

困扰我一周额脚本移植问题,终于解决了
咳咳
且列哦
 
实际上方法都知道了
两个参数
project setting里的baseurl
用来导航的移植
iframe里baseurl用来移植内部控件
UsesBaseUrlHost 暂时没咋用到
 
然后对后面2个排列组合
 
结果实际上我都做了
但是都没起效
 
最关键的是
我没把错误消息给贴上
 
本来以为错误消息就是超时没找到控件
 
实际上要贴个解析好的,他们在找控件的地址
 
昨天解决了

Scenario 3 is what I would expect to work in your scenario:

3.baseurl:^/System/UserAndRole/UserManage.aspx
UsesBaseUrlHost :false
error message:
Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame. '[Frame.:id=ifr9031,name=ifr9031,src=http://10.10.198.105/System/UserAndRole/UserManage.aspx,UseQuery:False]' timed out. Error: Wait for condition has timed out

As highlighted, for some reason the path portion is not included with the host portion when the BaseURL is swapped.

Instead, try one of the following approaches:
  • Use the tilde (~) to indicate a partial match: ~UserManage.aspx
  • Since a unique ID and Name are set for the frame, delete the frame's BaseURL entirely.

然后给我的方法,第一种就搞定了

哎,折腾,又长经验了,^_^


TAG:

 

评分:0

我来说两句

日历

« 2024-04-28  
 123456
78910111213
14151617181920
21222324252627
282930    

数据统计

  • 访问量: 14654
  • 日志数: 18
  • 建立时间: 2012-01-20
  • 更新时间: 2012-06-19

RSS订阅

Open Toolbar