TA的每日心情 | 开心 2016-10-31 11:34 |
---|
签到天数: 16 天 连续签到: 1 天 [LV.4]测试营长
|
刚装的UFT_11.50,使用的浏览器是IE11,回放到如下脚本时报错了:
Browser("Welcome: Mercury Tours").Page("Book a Flight: Mercury").WebEdit("passFirst0").Set "zhang" Browser("Welcome: Mercury Tours").Page("Book a Flight: Mercury").WebEdit("passLast0").Set "san"
Browser("Welcome: Mercury Tours").Page("Book a Flight: Mercury").WebEdit("creditnumber").Set "88888888"
Browser("Welcome: Mercury Tours").Page("Book a Flight: Mercury").Image("buyFlights").Click 63,4
Browser("Welcome: Mercury Tours").Page("Flight Confirmation: Mercury").Image("home").Click
报错说明如下:
passFirst0 | Cannot identify the object "passFirst0" (of class WebEdit). Verify that this object's properties match an object currently displayed in your application.
|
passLast0 | Cannot identify the object "passLast0" (of class WebEdit). Verify that this object's properties match an object currently displayed in your application. |
creditnumber | Cannot identify the object "creditnumber" (of class WebEdit). Verify that this object's properties match an object currently displayed in your application. |
home | Cannot identify the object "home" (of class Image). Verify that this object's properties match an object currently displayed in your application. |
请高手帮忙指点下是哪里的问题,谢谢!
|
|