WaitForControlNotExists()方法不等待给定时间 [英] WaitForControlNotExists() method does not waits for given time

查看:165
本文介绍了WaitForControlNotExists()方法不等待给定时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我的手写码MyWindow.WaitforControlNotExists("Exists",true,120000);

I my handcoding MyWindow.WaitforControlNotExists("Exists", true,120000);

CUI是即使控件消失,等待给定的时间!?如果控制不存在,我该怎么做才能存在条件。

CUI is waiting for the given amount of time even if the control disappears!? What should I do to exist the condition if the contro is not exists.

 

谢谢,

Keshav M。

推荐答案



uIButton1Button.WaitForControlNotExist(10000);

 

uIButton1Button.WaitForControlPropertyEqual(Exists",false,10000); //为什么你在上面的例子中传递'true'?
b
$
以上两种方法都与Dev10 SP1上的预期相同。您正在观看的控件(UI技术)是什么?


uIButton1Button.WaitForControlNotExist(10000);
 
uIButton1Button.WaitForControlPropertyEqual(Exists", false, 10000); // Why are you passing 'true' in your example above ?

Both the above work as expect on Dev10 SP1. What is the control (UI technology) you are watching ?

谢谢,

~Tapas


这篇关于WaitForControlNotExists()方法不等待给定时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆