How can i break a test if a bitmap-checkpoint fails ?

Showing Answers 1 - 2 of 2 Answers

tahnu

  • Feb 2nd, 2006
 

if a check point fails qtp interuppts the executions and waits for user interaction . it displays  a window which contains various options like stop,skip,debug...

by clicking stop u can break the test execution

ARamu

  • Mar 8th, 2006
 

Assign the value of the checkpoint result to a variable. Chek the variable and if it is true, Use ExitTest to exit the test

Result=Browser(...).Page(...).CHeck(Checkpoint(<checkpointname>))

If Result then

ExitTest

End if

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions