Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Checkpoint problems: Checkpoint starts before web page is loaded & therefore fails!
#1
Solved: 10 Years, 9 Months, 3 Weeks ago
Hi

I have recently installed the trial version of QTP 10 and I am experiencing problems with the different checkpoints that you put in for the Mercury Tour Tutorials.

For example, The 2nd checkpoint that you put in for the tutorial, the one that checks images & links on the 'Booking page', this one fails for me every time saying that 4 images are missing.

Now for those who don't know this checkpoint is the first check to run one the 'Booking page'.

My take on is that the checkpoint starts before the page is fully loaded because when I run the actions in steps, so all previous actions up to the 'Booking page' and give the 'Booking Page' a chance to open up and then carry on from the 'Booking Page' then it passes!

Also if the checkpoint for links & images is moved down to be one of the last tasks to run for the 'Booking Page' then it passes everytime when the complete test is run.

I have also seen this with the later checkpoints that you insert using the data table to produce iterations, where you basically run the Mercury Tour website twice or more to make more than 1 booking in one go. This then sometime, I repeat sometimes fails for the checkpoint text on the 'Flight Confirmation page' which is the 1st task to run on that page and basically checks the departure city text. In my test I have 3 iterations so 4 bookings, and the results vary when the test is run repeatedly by me without making any changes ie. everything can pass, a few iterations can fail, only last one, all fail etc. And when looking at the picture for the fails in the results, the 'Confirmation Page' has always never finished loading.

So that's my theory, any ideas why this happening to me because I dont get it.

By the way IE 8 was used for the test.

Thanks
Reply


Messages In This Thread
Checkpoint problems: Checkpoint starts before web page is loaded & therefore fails! - by IdontGetIt - 11-18-2009, 04:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Problems with Text color recognition Treirk 0 988 06-17-2019, 12:19 PM
Last Post: Treirk
  Click after CheckProperty to a WebElement passed via Function argument fails naruoga 0 1,034 02-28-2019, 11:46 AM
Last Post: naruoga
  text checkpoint properties error alp 0 1,071 11-24-2017, 04:36 PM
Last Post: alp
  click each web link in a page using Index or other method in QTP smeijer 13 23,707 04-29-2017, 04:53 PM
Last Post: kowshik
Exclamation SAPGuiUtil.Autologon method fails liorde 2 5,562 10-25-2015, 02:08 PM
Last Post: liorde

Forum Jump:


Users browsing this thread: 1 Guest(s)