Forum Discussion
Adagio
Frequent Contributor
Hi @wam,
It just a conditional statement after the wait statement. The problem is, max wait is 20 seconds, and it's not able to identify the object on the UI (20 seconds later even when the object appears on the page within 5 seconds). Even though the Alias mapping hasn't changed.
progLib.waitForVisibility(buttonClx);
if(buttonClx.Exists){
buttonClx.ClickButton();
}
Thank you!!
AlexKaras
4 years agoChampion Level 3
Hi,
In addition to Robert's reply:
If the buttonClx is recreated in-between it was initially found and .Exists verification, than this is correct behavior of TestComplete just because the initial object was destroyed and thus does not exist.
If the above is your case than you must search for the buttonClx button again after it was recreated.
Related Content
- 9 months agoIrinaManea
- 8 months agoAnabelle
- 6 months agoLee_M
- 5 years ago4m4d3u5
Recent Discussions
- 38 minutes agojstaehlin
- 19 hours agoAivanitskiy
- 22 hours agonastester