An open API service indexing awesome lists of open source software.

https://github.com/sbittla/selenium-page-object-model

Selenium WebDriver page object model in Java using TestNG with Mercury tours web sample application
https://github.com/sbittla/selenium-page-object-model

chrome chrome-extension chromedriver firefox-extension framework java maven-plugin open-source opensource page-object-model pageobject-pattern pageobjectmodel selenium selenium-java selenium-maven selenium-rc selenium-remote-controller selenium-webdriver

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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/.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.