Forum Discussion
Hi Shankar,
when TestComplete is not able to get the picture from the object, I assume this means the object on the webpage that is being tested, is that correct?
If that is the case is it possible that if the page is still loading elements, that this might prevent TestComplete from getting the picture of the object?
I have had issues with other controls not being found and errors occurring which have stopped tests. For these I had to add in "Exists" steps to allow the page to fully load before the test step was executed.
when TestComplete is not able to get the picture from the object, I assume this means the object on the webpage that is being tested, is that correct?
If that is the case is it possible that if the page is still loading elements, that this might prevent TestComplete from getting the picture of the object?
Yes, TestComplete cannot get complete when it is loading. It is best practice to have dynamic wait until your page loads successfully
I have had issues with other controls not being found and errors occurring which have stopped tests. For these I had to add in "Exists" steps to allow the page to fully load before the test step was executed.
It is best practice to have Exists condition when you do the UI actions.
- ThomasCasserly7 years agoFrequent Contributor
Ok,
thanks, that might be the source of the issue. Next time I get that error I will try adding "Exists" condition and see if is solves the problem and prevents it from recurring.
Thanks for the help.
Related Content
Recent Discussions
- 2 days agoGane195