qtp:exit 函数

1、ExitAction() 退出当前操作,无论其本地(操作)循环属性是什么。

2、ExitActionIteration() 退出操作的当前循环。

3、ExitComponent()退出当前组件并继续业务流程测试中的下一个组件,无论组件的循环设置是什么。

4、ExitComponentIteration() 退出当前组件循环并继续该组件的下一次循环,或者,如果当前组件没有其他循环,则继续业务流程测试中的下一个组件。

5、ExitGlobalIteration() 退出当前的全局循环,并使用全局数据表的下一行开始下一次循环。

6、ExitRun() 退出测试,无论其全局循环属性是什么。

7、ExitTest() 退出整个业务流程测试,无论运行时循环设置是什么。

8、ExitTestIteration() 退出业务流程测试的当前循环并继续下一次循环,或者如果没有其他运行时参数循环,则退出测试运行。

 

Exit DoProvides 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 ForProvides 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 FunctionImmediately exits theFunctionprocedure in which it appears. Execution continues with the statement following the statement that called theFunction.
Exit PropertyImmediately exits thePropertyprocedure in which it appears. Execution continues with the statement following the statement that called thePropertyprocedure.
Exit SubImmediately exits theSubprocedure in which it appears. Execution continues with the statement following the statement that called theSub.

转载于:https://www.cnblogs.com/hgfg331/p/3511073.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值