Test that works in QTP fails in QC - 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 that works in QTP fails in QC (/Thread-Test-that-works-in-QTP-fails-in-QC) |
Test that works in QTP fails in QC - msacks - 12-24-2014 I have been successfully running a test in QTP. When I try to run it from Quality Center, however, it throws a lot of run errors, specifically when looking for specific locations on a page. For example, for this instruction: Code: strFound = Window("Windows Internet Explorer").WinObject("Internet Explorer_Server").GetTextLocation(strTextToFind_1, 670, 281, 1603, 655) QTP throws this error: Cannot find the "Internet Explorer_Server" object's parent "Windows Internet Explorer" (class Window). Verify that parent properties match an object currently displayed in your application. if I look in the object repository, there is no object of class Window. This doesn't stop the test from running directly in QTP, though. |