Forum Discussion
tristaanogre
14 years agoEsteemed Contributor
Well, it MIGHT not be bypassing that if loop... it might be that it's actually returning that the object in question that you're testing in the "if object" call doesn't exist and so skips right past it entirely. Is it possible that you have the object mismapped in your NameMapping so it's not being found?
Another possibility is that the 10 second default auto-wait timeout might not be sufficient at that point to determine if the form exists... Highlight that "if" line and right click and you should be able to select an option to set an auto-wait time out. Deselect the option in the resulting window to use the project setting and increase the timeout to something rediculous (just as a test) like 60000 and see if that fixes it.
Another possibility is that the 10 second default auto-wait timeout might not be sufficient at that point to determine if the form exists... Highlight that "if" line and right click and you should be able to select an option to set an auto-wait time out. Deselect the option in the resulting window to use the project setting and increase the timeout to something rediculous (just as a test) like 60000 and see if that fixes it.
Related Content
- 6 years ago
- 3 years ago
- 6 years ago
- 11 years ago
Recent Discussions
- 2 hours ago