去掉已加载UFT场景恢复

来源:互联网 发布:淘宝评论禁止词汇 编辑:程序博客网 时间:2024/06/05 18:41

VBS脚本:

Set qtTestRecovery = qtApp.Test.Settings.Recovery

'MsgBox qtTestRecovery.Count

If  qtTestRecovery.Count > 0 Then

     qtTestRecovery.RemoveAll

End If

 

Python脚本:

qtTestRecovery = qtApp.Test.Settings.Recovery

'print qtTestRecovery.Count

if  qtTestRecovery.Count > 0:

     qtTestRecovery.RemoveAll()

'print qtTestRecovery.Count

 

0 0
原创粉丝点击