In this video you will learn how to handle elements that sometimes appear and sometimes don’t appear on a web page. This could be based on roles, time-of-day or other context-based rules that need to be handled as part of an automated test case.
We also demonstrate how you can branch you test flow depending on whether an element appears or not. This can be used to do an assert on a specific element or just move the test flow in different directions.
The demonstration is based on this test case.