Forum Discussion
- AlexKaras
Champion Level 3
Hi,
It might be something like this (untested VBScript pseudocode):
Set win = Parent.WaitWindow(<class>, <caption>, -1, 3000) ' 3 sec
If (win.Exists) Then _
Call win.button("OK").Click
...
Instead of WaitWindow() you may use WaitChild(), WaitAliasChild(), WaitVCLObject(), or any other WaitXXX() function depending on your tested application.
- AnneTheAgileContributor
ty! I will go try and report back. I used scripts before but I have to refresh my memory.
- cunderwCommunity Hero
If you're in a KWT use the if Object operation and set it's wait timeout to three seconds. Then nest the clicking operation to the if object operation.