Help needed to replay the test - 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: Help needed to replay the test (/Thread-Help-needed-to-replay-the-test) |
Help needed to replay the test - QA Tester - 09-22-2012 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 . Code: Dialog("Login").WinEdit("Agent Name:").Set "mercury" 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 RE: Help needed to replay the test - QA Tester - 09-23-2012 Hi All, Please can anybody reply to my problem My trial version will be expiring soon before that I need to understant the working of QTP. Its a basic test replay problem. Its giving a runtime error at Agent Name. Thanks RE: Help needed to replay the test - Ankesh - 09-24-2012 Make sure you have the objects added in OR. Also make sure that the login page is open when you are running the test. RE: Help needed to replay the test - jesonvan - 09-25-2012 U should close the login dialog before your test. QTP can not recognize the duplicated objects. RE: Help needed to replay the test - QA Tester - 10-02-2012 Thanks alot Ankesh and Jesonvan, Now I am able to run the test. Thanks for your reply. Regards Asma Talib |