qtp:exit 函数
1、ExitAction() 退出当前操作,无论其本地(操作)循环属性是什么。
2、ExitActionIteration() 退出操作的当前循环。
3、ExitComponent()退出当前组件并继续业务流程测试中的下一个组件,无论组件的循环设置是什么。
4、ExitComponentIteration() 退出当前组件循环并继续该组件的下一次循环,或者,如果当前组件没有其他循环,则继续业务流程测试中的下一个组件。
5、ExitGlobalIteration() 退出当前的全局循环,并使用全局数据表的下一行开始下一次循环。
6、ExitRun() 退出测试,无论其全局循环属性是什么。
7、ExitTest() 退出整个业务流程测试,无论运行时循环设置是什么。
8、ExitTestIteration() 退出业务流程测试的当前循环并继续下一次循环,或者如果没有其他运行时参数循环,则退出测试运行。
Exit Do | Provides a way to exit aDo...Loopstatement. It can be used only inside aDo...Loopstatement.Exit Dotransfers control to the statement following theLoopstatement. When used within nestedDo...Loopstatements,Exit Dotransfers control to the loop that is one nested level above the loop where it occurs. |
Exit For | Provides a way to exit aForloop. It can be used only in aFor...NextorFor Each...Nextloop.Exit Fortransfers control to the statement following theNextstatement. When used within nestedForloops,Exit Fortransfers control to the loop that is one nested level above the loop where it occurs. |
Exit Function | Immediately exits theFunctionprocedure in which it appears. Execution continues with the statement following the statement that called theFunction. |
Exit Property | Immediately exits thePropertyprocedure in which it appears. Execution continues with the statement following the statement that called thePropertyprocedure. |
Exit Sub | Immediately exits theSubprocedure in which it appears. Execution continues with the statement following the statement that called theSub. |