Testing Shastra | Implicit Wait Demo

Implicit and Explicit Wait Demo

  • Assignment_1: Implicit Wait Demo:

    Enter name in a text box and try to click on 'Click Me' button immediately

    You will not get any error. But button is not clickable immidiately. Here impicit wait only waits for presence of element. So 'Click Me' button is present in DOM hence you will not get any error. But if you click on it, nothing happens as the button is not clickable

    Assignment_2: Explicit Wait Demo:

    Enter name and click on 'Click Me' button and wait for the message to be diplayed on page.

    Assignment_3: Explicit Wait Demo: Click on 'Button2' and print the message