The DefaultTimeOut property of the Setting object sets or retrieves the delay for finding objects. DefaultTimeOut is a per-test setting.
Setting("DefaultTimeout") = Milliseconds
Setting("DefaultTimeout") = 4000
Milliseconds: Maximum time in milliseconds to wait before it is determined that an object cannot be found.
To retrieve the setting:
CurrentSetting = Setting("DefaultTimeout")
We can use the browser navigation time-out by:
Setting("WebTimeout") = Milliseconds
To retrieve the setting:
currentsetting = Setting("WebTimeout")
No comments:
Post a Comment