Micro Focus QTP (UFT) Forums
Identification Of Dynamic Object(Frame) Using Descriptive _Program - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Regular Expressions (https://www.learnqtp.com/forums/Forum-UFT-QTP-Regular-Expressions)
+--- Thread: Identification Of Dynamic Object(Frame) Using Descriptive _Program (/Thread-Identification-Of-Dynamic-Object-Frame-Using-Descriptive-Program)



Identification Of Dynamic Object(Frame) Using Descriptive _Program - yuvaraj - 09-19-2013

Cannot find the "[ WebEdit ]" object's parent "[ Frame ]" (class Frame). Verify that parent properties match an object currently displayed in your application.


RE: Identification Of Dynamic Object(Frame) Using Descriptive _Program - ssvali - 09-19-2013

Please post the full details of your issue. One liner won't help.

What are you trying to do?
What code u had written ?
What error you are facing ?


RE: Identification Of Dynamic Object(Frame) Using Descriptive _Program - yuvaraj - 09-19-2013

*)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)
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.

-------------------------------