04-16-2020, 06:26 PM
With our web testing automation, we do a lot of repetitive testing and occasionally, I guess due to poor development or whatever, we get redirected to a 404 page or Server Error page or 500 page, etc. I added objects from each of these pages to the Object Repository and added If Then statements for each of them.
The issue is, when the program comes to the line with the If Then, even though the page is not displayed anywhere, the objects still exist so the If Then is ALWAYS True.
What unique object property can I use in the If Then that will not be True unless the page is actually being displayed?
Thank you.
The issue is, when the program comes to the line with the If Then, even though the page is not displayed anywhere, the objects still exist so the If Then is ALWAYS True.
What unique object property can I use in the If Then that will not be True unless the page is actually being displayed?
Thank you.