Hi,
I am new to Automation testing using QTP. Content published in this site is really very helpful. My sincere thanks for this.
When I recorded steps mentioned in Tutorial -4 [Recording first application of Flight, Scenario - Check that user successfully logs in to the application on inputting valid Agent Name & Password"], I faced this 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): "Dialog("Login").WinEdit("Agent Name:").Set "rtyry"".
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.”.
I followed all same steps mentioned in the video. I have QTP 10.0 Evaluation set up Is installed on my machine – Win2K8 OS..
When I recorded ,following code has generated in Expert View :
“Dialog("Login").WinEdit("Agent Name:").Set "rtyry"
Dialog("Login").WinEdit("Password:").SetSecure "4c9748421845c350404a00cb6d8a0f6263f084c6"
Dialog("Login").WinButton("OK").Click
Window("Flight Reservation").Close “
Please let me know if more information is needed and please help me on this, so I can continue learning QTP using this site.