SeeTestAutomation- SetThrowExceptionOnFail
info
Please note that this tool is classified as a Legacy tool. We recommend transitioning to our updated solutions to maintain optimal performance and security in your workflows. For more information on this matter, please reach out to technical support .
void setThrowExceptionOnFail(throwExceptionOnFail)
Description
Void methods throw an exception by default.
This command enables the user to control that option.
info
Note: This command is available only from a JAVA, C# Or Python coding environments.
Parameters
- throwExceptionOnFail**:** Boolean parameter:
- true (default)****: An exception will be thrown when void method fail.
- false: No exception will be thrown when a Void method fail.