Tuesday, 22 March 2016

QTP - 41 - Exit statements in QTP

Exit statements are used in QTP if you want to break the flow of any statement. This is done generally in case of error handling. Suppose we are executing a testcase and any error occurs, now we want to skip that particular step or iteration then we use Exit statement. Below I am mentioning different EXIT statement :

 ExitTest - Exits from the entire QTP test no matter what the run-time iteration settings are.

ExitAction - Exits the current action.

ExitActionIteration - Exits the current iteration of the action.

ExitTestIteration - Exits the current iteration of the QTP test and proceeds to the next iteration.

No comments:

Post a Comment