09-22-2012, 03:46 AM
Hi All,
I need some guidance regarding a Test.
I have recorded a simple login Test using QTP 11.
QTP 11 essential trial version
OS : Windows 7 32 bit
Just entering the Agent Name and Password .Below is
expert view steps .
When I replay I got following error.
Run Error :
Cannot find the "Agent Name:" object's parent "Login" (class Dialog).
Verify that parent properties match an object currently displayed in your application.
Line (1):
Tip: If the objects in your application have changed, the Maintenance Run Mode can help you identify and update your steps and/or the objects in your repository.
Any one has seen this error before if so please guide regarding solving this.
Thanks
I need some guidance regarding a Test.
I have recorded a simple login Test using QTP 11.
QTP 11 essential trial version
OS : Windows 7 32 bit
Just entering the Agent Name and Password .Below is
expert view steps .
Code:
Dialog("Login").WinEdit("Agent Name:").Set "mercury"
Dialog("Login").WinEdit("Agent Name:").Type micTab
Dialog("Login").WinEdit("Password:").SetSecure "505ce4e625a67b04458865b58492ae11969224c0"
Dialog("Login").WinButton("OK").Click
Window("Flight Reservation").Close
Run Error :
Cannot find the "Agent Name:" object's parent "Login" (class Dialog).
Verify that parent properties match an object currently displayed in your application.
Line (1):
Code:
"Dialog("Login").WinEdit("Agent Name:").Set "mercury"".
Tip: If the objects in your application have changed, the Maintenance Run Mode can help you identify and update your steps and/or the objects in your repository.
Any one has seen this error before if so please guide regarding solving this.
Thanks