MoveableWin.
Verifies the caption of the window.
window.VerifyCaption(sCaption[, nTimeout])
Variable | Description |
---|---|
sCaption | The caption you expect the window to have. STRING. |
nTimeout | Optional: The number of seconds to wait for the expected value to be achieved. NUMBER. |
VerifyCaption checks whether the caption of a window has the expected value.
If a timeout is specified with the nTimeout parameter, Silk Test Classic calls VerifyCaption() until the condition is verified or the timeout is reached. The time between checks is the value of the window retry interval Agent option (OPT_WINDOW_RETRY). If the verification fails, an exception is thrown.
MyDialog.VerifyCaption("Options")