UFT 14 – does a recovery scenario for erros fire for all runtime errors

  • Questions
  • UFT 14 - does a recovery scenario for erros fire for all runtime errors
Question ID: 108833
0
0

Hello,
I’ve using UFT 14.03 to test a web app.
New to UFT. Did do the orasi 3 day training.
Have 10+ experiencing programming.

I’d like to be able to handle all runtime errors that happen while running a test.
Was hoping to see vbscript handle errors like vb6 but it looks like it only supports
On Error Next (skip bad line, keep going) + On Error Goto 0 (ignore all errors).
Tried recovery scenario for error but it didn’t work when I raised a test error with Err.Raise.
Is that the way to go and I just did something wrong or will a recovery scenario only fire if the error involves navigating through the object model in the object repository.

Any suggestion would be appreciated.
Thanks

Marked as spam
Posted by (Questions: 1, Answers: 0)
Asked on January 29, 2019 2:07 pm
36 views
Answers (1)
0
Private answer

Recovery scenarios can be triggered by a variety if events, including run errors.

More information on trigger events can be found on the Select Trigger Event Page in the UFT Help Center.

Detailed information on how to use Recovery Scenarios can be found on the UFT Help Center.

Marked as spam
Posted by (Questions: 16, Answers: 806)
Answered on April 16, 2021 4:24 pm
EyeOnTesting