UVK scripting commands - ->WaitControl()

Show menu



->WaitControl( ClassNN/ID , timeout , winIndex )


Wait until a specific control is visible and enabled.


ClassNN/ID - The control's ClassNN, Advanced mode, ID or text.
timeout (optional) - The timeout, in seconds. Default is 1000000.
winIndex (optional) - The index of the window the control belongs to. Default is the last ->WaitWindow() window.


Optional parameters do not need to be specified.
This function must be called after at least one call to ->WaitWindow(), otherwise it will fail.


;Open notepad and wait until the text box ix visible and enabled
->SendText(Testing Notepad Automation{ENTER}Second line)


Back to the list



Copyright Carifred © 2010 - 2024, all rights reserved.

Scroll to top