Forum Discussion

mgroen's avatar
mgroen
Frequent Contributor
12 years ago

How to handle errors (Object not found, and other errors) in Keyword testing?

I am looking for an approach to create some sort of "fallback" testing when errors occurs during test execution. Particular the error "Object not found".



I want to implement this in Keyword Testing.



I have tried Try, Catch, Finally but these operations do not support errors posted to the log.



Anybody has idea, best practises, as to how to implement this?



1 Reply

  • Can you convert it to a script and use an Event Handler?

    Sub GeneralEvents_OnLogError(Sender, LogParams)
    ' Take Some Action Here or Post something specific to the Log
    End Sub