Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Test that works in QTP fails in QC
#1
Not Solved
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Click after CheckProperty to a WebElement passed via Function argument fails naruoga 0 1,160 02-28-2019, 11:46 AM
Last Post: naruoga
  How QTP record/play works on google chrome shobi 6 7,557 01-11-2016, 09:53 AM
Last Post: vinod123
Exclamation SAPGuiUtil.Autologon method fails liorde 2 5,967 10-25-2015, 02:08 PM
Last Post: liorde
  Can QTP 10 works on IE 9 with any patch? Nikhil Garg 1 2,351 02-20-2015, 11:38 AM
Last Post: vinod123
  Whether xlsx extension works while importing data sheet? Akhila 21 44,209 06-17-2014, 04:02 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 2 Guest(s)