09-19-2013, 05:38 PM
*)I assign the value to the web user control in our software.It contains the path
Browser(**).Page(**)Frame(***).Webtable(**).Webtable(**).webtable(**).Webedit(**)
Note: Frames Html id dynamically changing.
The Below scripts has been tried.
1)
Error:
Cannot find the "[ WebEdit ]" object's parent "[ WebTable ]" (class WebTable). Verify that parent properties match an object currently displayed in your application.
-------------------------------
2)
Error:
Cannot find the "[ WebEdit ]" object's parent "[ WebTable ]" (class WebTable). Verify that parent properties match an object currently displayed in your application.
------------------------------------
3)
Error:
Cannot find the "[ WebEdit ]" object's parent "[ Frame ]" (class Frame). Verify that parent properties match an object currently displayed in your application.
-------------------------------
Browser(**).Page(**)Frame(***).Webtable(**).Webtable(**).webtable(**).Webedit(**)
Note: Frames Html id dynamically changing.
The Below scripts has been tried.
1)
Code:
browser("title:=***").page("title:=***").frame("html id:=iframe.*").webtable("name:=Shipper$Account").webedit("name:=Shipper$Account","type:=text","html id:=Shipper_Account").Set"Shipper"
Error:
Cannot find the "[ WebEdit ]" object's parent "[ WebTable ]" (class WebTable). Verify that parent properties match an object currently displayed in your application.
-------------------------------
2)
Code:
'browser("title:=***").page("title:=***").Frame("html id:=iframe/([0-9]|[1-9][0-9]/)").WebEdit("name:=Shipper$Account").Set"aaa"
Error:
Cannot find the "[ WebEdit ]" object's parent "[ WebTable ]" (class WebTable). Verify that parent properties match an object currently displayed in your application.
------------------------------------
3)
Code:
browser("title:=***.*").page("title:=***.*").Frame("html id:=iframe.*").WebEdit("name:=Shipper$Account","type:=text").SetSecure"aaa"
Error:
Cannot find the "[ WebEdit ]" object's parent "[ Frame ]" (class Frame). Verify that parent properties match an object currently displayed in your application.
-------------------------------