Examples of successful and unsuccessful logging in to Petstore.
Follow the instructions per comments to complete the tasks 12.1 and 12.2
Follow the instructions per comments to complete the tasks 11.1 to 11.6
Read the official documentation for Selenium Webdriver Download the gecko webdriver for Firefox and your operating system or check out site for downloading the chrome webdriver
NOTE 1: If you use chrome, the POM file of the demo should also be updated with the chrome equivalent from the maven repository
NOTE 2: Using chrome requires a few more steps.
Clone this repository or download and extract zip file of Selenium demo project to your own directory Ensure the directory location to the gecko file is corrected in the Junit test case.
Run Junit testcases.
- We are checking for the webpage title.
- We are checking for the input tag You might need to brush up on your HTML:
- https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/HTML_basics
- https://www.w3schools.com/html/