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
10 views