Test will not run on second screen - 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: Test will not run on second screen (/Thread-Test-will-not-run-on-second-screen) |
Test will not run on second screen - sweettalk - 03-22-2010 Hi All, I am a beginner and I just started learining QTP on my own. The application I want to automate has a couple of screens. For the first screen I made repositories and actions to perform. For the second screen I did the same. Then I recorded the steps for both screens in one test. When I run my test it stops after performing on the first screen. It switches to the second screen and opens it, just like I recorded, but it will not fill the screen with the information I entered while I was recording. QTP then stops running. The test is not complete and the test results summary is marked as passed. When I perform only the second part of the test, which is the next screen to be opened, an error occurs with following message: The test run cannot continue due to an unrecoverable error. Cannot find the "0grid" object's parent "Window" (class Window). Verify that parent properties match an object currently displayed in your application. Line (1): "Window("PersMaster Hoofdscherm").Activate". Do any of you have any idea what I am doing wrong? Thanks in advance for answering. Mary RE: Test will not run on second screen - Ankur - 03-23-2010 The object Window properties have changed between the two run. or the parent doesn't exist in Object Repository. I would suggest you to get yourself a QuickTest training, it will surely help you with such questions. Not that we don't encourage people to ask beginner level questions here but I'm sure with the help of a training you can get up to speed fast. |