12-19-2009, 10:26 AM
I am a beginner to QTP.installed qtp 10.0 on windows7.
opened the qtp and selected the default option for windows to record - "record and run test on any open windows application". Then, i opened the "flight" application, log in and add new reservation and exited.
now, i stop the record and run the test, it is failing with this message -
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 "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.
Please help me in debugging this issue.
opened the qtp and selected the default option for windows to record - "record and run test on any open windows application". Then, i opened the "flight" application, log in and add new reservation and exited.
now, i stop the record and run the test, it is failing with this message -
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 "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.
Please help me in debugging this issue.