Forum Discussion
Marsha_R
6 years agoChampion Level 3
Well, it's looking because you told it to. Once you say If Visible, TC is going to hunt that box down and it either finds it or says sorry couldn't find it and gives up.
What I would do is give TC explicit instructions on what to do if it can't find the box. So, something like (I don't know your syntax so you will have to fix that)
if alertBox.Visible:
alertBox.Click("Yes")
else
log.message ("no alert box this time")
Related Content
- 4 years agoCapricornus
- 2 years agomattb
Recent Discussions
- 42 minutes agoSvetaG