dikshika114
4 years agoContributor
Which wait i should use: "To Wait untill the object is not displayed" (Explicit Wait)
Sometimes text box is not displayed and test complete try to perform the operations on it. So, which wait i should use to wait until the text box is not displayed? Using JavaScript - For my Project...
- 4 years ago
Hi,
If you are using Keyword tests I would use the call object method and use a wait element or wait property.
But if simply using script here are examples of the wait element (web apps): https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/page/waitelement-method-page-object.html
and wait property (process, windows, controls): https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/common-for-all/waitproperty-method.html
This should also help decide: https://support.smartbear.com/testcomplete/docs/app-objects/common-tasks/waiting-process-or-window-activation.html