Forum Discussion

mike_zone's avatar
Occasional Contributor
11 years ago

Help. Click button until...

There is a game that I need to automate. Everything worked until it did not take action:" Press the button with a delay until you see a certain value / How do you picture" How do I add a function i...
  • tristaanogre's avatar
    11 years ago
    Yeah, then a Do-While loop is pretty much your best bet here... and, again, it can be done both with Keyword tests and script code.  At some point, you need to tell TestComplete the condition for "falling out"... a while loop is your best bet.