Skip to content

setExceptionHandlerContext (Exception Handling)

  • Purpose
  • This command is used to execute the Test Script when there is any failure in the scenario that executes with Exception Handler Code. Status of the Test Script can be optionally passed. Allowed values for Status are 'W' and 'A'. If not passed, the status of the Test Script is assumed to be W for WIP.
  • Syntax
  • setExceptionHandlerContext(TestScriptName(Status))
  • Target
  • TestScriptName(Status)
  • Value
  • NA
  • Return Value
  • Jumps to the Test Script(exception handler Test Script)upon any failures in Exception Handler Code
 

Feedback and Knowledge Base