问题描述
当我运行编码的ui项目时,我们预计会有4个不同的弹出窗口弹出窗口。我们不知道哪个窗口会出现在运行时。
如果我使用if条件,代码在某个特定时间内等待所有窗口存在或不存在。
所以,如果我能在运行时使用编码的ui识别窗口名称,通过使用开关案例代码将相应地运行。
请尽可能帮助我。
感谢您提前抽出时间。
我尝试过:
我试图在几个网站上展示如何识别控制权。 :(
When i am running a coded ui project, we were expected one pop up window out of 4 different pop up's. We do not know which window will appear in runtime.
If i use if conditions, code is waiting for all the windows exists or not within some specific time it has.
So, If i can recognize the window name in run time using coded ui, by using switch case code will run accordingly.
Please help me if it is possible.
Thank you for your time in advance.
What I have tried:
I tried in several sites they are showing how to recognize control. :(
推荐答案
这篇关于是否可以在运行时或动态编码ui时动态查找窗口名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!