Use the VerifyValue method to check whether a text box has the text string you expect it to have. For a dynamic text, static text, or single-line text box, sExpected should be a STRING. For a multi-line text box, sExpected should be a LIST OF STRING.
Verify(window.GetText(), expected_text)
If the text in the static text or text box does not match the expected value, Silk Test Classic raises the exception E_VERIFY.
If a timeout is specified with the nTimeout parameter, Silk Test Classic calls VerifyValue() 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.