Forum Discussion
In my application, when I enter the host name, it takes few seconds to check if that host is available, and then enables a button "Save Connection". Meanwhile TestComplete checks that the button is not enabled and it fails without waiting for the button to get enabled.
So I tried giving timeout option by setting "Set autowait timeout for operations". I am expecting this to give a delay so that "Save Connection" button gets enabled.
My problem here is "Set autowait timeout for operations" is not giving a delay. what should I do to give a delay here?
How are you checking for enabled? My guess is you are trying to check the enabled property of an object that does not exist, so you need to wait for it to exist. Without more detail or a code snippet though, cannot tell for sure.
Related Content
- 13 years ago
Recent Discussions
- 3 days ago
- 3 days ago
- 6 days ago