ScrollBar.
Determines whether the page size is as expected.
scrollbar.VerifyPageSize(iExpPageSz[, nTimeout])
Variable | Description |
---|---|
iExpPageSz | The expected page size. INTEGER. |
nTimeout | Optional: The number of seconds to wait for the expected value to be achieved. NUMBER. |
If the verify fails, this function logs the following message to the results file: VerifyPageSize failed — expected iExpPageSz, got sActual. This method is not useful for Windows GUIs.
If a timeout is specified with the nTimeout parameter, Silk Test Classic calls VerifyPageSize() 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.
scrollbar.VerifyPageSize(12)