Skip to content

Latest commit

 

History

History
executable file
·
29 lines (23 loc) · 968 Bytes

README.md

File metadata and controls

executable file
·
29 lines (23 loc) · 968 Bytes

Selenium WebDriver page object model in Java using TestNG with Mercury tours web sample application

Pre-requisites:

JVM
Maven

Tested with

Java(TM) SE Runtime Environment (build 1.8.0_192-b12) - Java HotSpot(TM) 64-Bit Server VM (build 25.192-b12, mixed mode)
Apache Maven 3.5.2

Download git hub project and run the below command from project home folder - from the location where pom.xml is located.

mvn clean install

After the successfull execution of the test cases. Run the below command to open the reports and screenshots.

To open the reports. Run the below command

open target/surefire-reports/index.html

It will display all the test cases and its status

To open the screenshots

open screenshots/<imagename>.png

Images are generated with the time stamp.

newtours site is down. you can leverage the curremnt frame work on https://onwardflightticket.com. This is just for practice purose only.