Is there any way to create recovery scenario for test case macro?

See OnError | #goto | logout-label

It makes the macro jump to “logout-label” if an error happens. You find an example in the DemoIfElse macro.