Micro Focus QTP (UFT) Forums
Windows app test record and run issue - 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 Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Windows app test record and run issue (/Thread-Windows-app-test-record-and-run-issue)



Windows app test record and run issue - sai08820 - 12-19-2009

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.