UFT 11.5 – Is there a runtime setting

  • Questions
  • UFT 11.5 - Is there a runtime setting
Tags:
Question ID: 105304
1
0

Is there a global test setting that tells a UFT (GUI testing) to just move on when it encounters a step where it can’t find the object in question? Right now, it throws up an error window and stops until I click a button.

Thanks.

Marked as spam
Posted by (Questions: 25, Answers: 12)
Asked on February 10, 2014 6:34 pm
7 views
Answers (2)
2
Private answer

Have you looked into Recovery scenarios or ''On Error Next''

Unexpected events, errors, and application crashes during a run session can disrupt your run session and distort results. This is a problem particularly when tests or components run unattended-the run pauses until you perform the operation needed to recover. To handle situations such as these, UFT enables you to create recovery scenarios and associate them with specific tests or application areas. Recovery scenarios activate specific recovery operations when trigger events occur.

The ''On Error Next'' statement can help to skip to next line of code if error but will cause problems troubleshooting issues and I do not recommend it very often.

Marked as spam
Posted by (Questions: 2, Answers: 98)
Answered on February 11, 2014 3:38 pm
0
Private answer

Thanks, Bubblehead. I think the recovery scenario is the way to go in this case. Thanks very much.

Marked as spam
Posted by (Questions: 25, Answers: 12)
Answered on February 11, 2014 8:47 pm