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

https://github.com/ashrika786/page-object-model

A perfect sample code for extent report where we use page object model as a test framework
https://github.com/ashrika786/page-object-model

extent-reports java8 page-object-model selenium selenium-webdriver test-automation test-driven-development test-ng testing-framework

Last synced: 3 months ago
JSON representation

A perfect sample code for extent report where we use page object model as a test framework

Awesome Lists containing this project

README

        

Page-Object-Model


This application is built to import invoices in CSV format through a user interface by utilising the Import data function.
The automated UI test Logs In and import a CSV file to any upload software.


License

# Demo
![Page-Object-Model-Demo-Gif.gif](screenshots/Page-Object-Model-Demo-Gif.gif)

## Languages, libraries and tools used

* __[Java 8](https://www.oracle.com/in/java/technologies/javase/javase-jdk8-downloads.html)__
* __[Selenium](https://www.selenium.dev/downloads/)__
* __[TestNG](https://testng.org/doc/eclipse.html)__
* __[Extent reports](https://www.extentreports.com/)__
* __[Eclipse](https://www.eclipse.org/)__

Above Features are used to make code simple, generic, understandable, clean and easily maintainable
for future development.

## Automated tests

1. To run a test, open the Project window, and then open com.finago.test package name and then right-click
on ProcountorReceiptTest.java and goto RunAs then Click on TestNG Test.

![Procountor-run-test.png](screenshots/Page-Object-Model-run-test.png)

2. To see the reports, open the Project window, and then right-click then click on refresh then open the Reports
Folder and then double click on ExtentReportResults.html file or open the ExtentReportResults.html file on the default browser.

![Procountor-report-file.png](screenshots/Page-Object-Model-report-file.png)

# Prerequisites
* __Eclipse__
* __Java__

# Built With

* __[Eclipse Oxygen](https://www.eclipse.org/downloads/packages/release/oxygen)__ - The IDE for Selenium Automation Test
* __[Java 8](https://www.oracle.com/in/java/technologies/javase/javase-jdk8-downloads.html)__ - Language used to build the application