录制的步骤回放时报错,请高手帮忙指点下,谢谢!
刚装的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
报错说明如下:
passFirst0Cannot identify the object "passFirst0" (of class WebEdit). Verify that this object's properties match an object currently displayed in your application.
passLast0Cannot identify the object "passLast0" (of class WebEdit). Verify that this object's properties match an object currently displayed in your application.
creditnumberCannot identify the object "creditnumber" (of class WebEdit). Verify that this object's properties match an object currently displayed in your application.
homeCannot identify the object "home" (of class Image). Verify that this object's properties match an object currently displayed in your application.
请高手帮忙指点下是哪里的问题,谢谢!
报错:对象passFirst0的属性与你存在的对象属性不一致,使用对象查看一下是否有属性变化 找不到对象,你是不是改对象名了。
页:
[1]