RobertDAltman
7 years agoOccasional Contributor
How do I wait for a user to perform an action?
In a Script test, how do I prompt the user to perform some action, then continue the script after the user indicates the action is complete? For example, I need to interact with a CAPTCHA on a form, so I need to tell the user to satisfy the CAPTCHA then click on something to continue the automated test.
1. You can use breakpoints: https://support.smartbear.com/testcomplete/docs/testing-with/debugging/breakpoints/using.html
2. You can use a while loop. And if you really need to prompt something to the user, you can combine this loop with TestComplete indicator - https://support.smartbear.com/testcomplete/docs/testing-with/running/indicator.html