why do QTP test results sometimes show screen capture for errors & sometimes not?

  • Questions
  • why do QTP test results sometimes show screen capture for errors & sometimes not?
Question ID: 104150
0
0

When I run an automated script in QTP and it gets errors, I look at the results file. When I drill down and select each error, sometimes it shows me a screen capture app under test associated with that error, and sometimes it does not. I do not see any pattern so far. What am I missing, or is this a "quirk" of QTP?

Marked as spam
Posted by (Questions: 6, Answers: 6)
Asked on July 9, 2010 6:28 pm
21 views
Answers (2)
7
Private answer

This could be due to the screen saver running or if you are using it remote and RDP being minimized. Please provide more details like the screen capture is blank or black and the version of QTP.

Marked as spam
Posted by (Questions: 2, Answers: 98)
Answered on July 12, 2010 3:17 pm
3
Private answer

I have found in the past if you do an image capture on error and the object does not exist then QTP can not identify where to take the image capture. I make a recovery scenario with a function to take a screen capture of the whole desktop

Marked as spam
Posted by (Questions: 2, Answers: 98)
Answered on July 28, 2010 2:17 pm