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

https://github.com/raghavendra-vaidya/seleniumsharpautomation

Automate orangeHRM using Java Selenium 4
https://github.com/raghavendra-vaidya/seleniumsharpautomation

automated-testing extentreports selenium-java selenium-webdriver test testautomationframework testng testng-annotations testng-listener

Last synced: 11 months ago
JSON representation

Automate orangeHRM using Java Selenium 4

Awesome Lists containing this project

README

          

# SeleniumSharpAutomation :computer:

Test automation frameWork using selenium WebDriver 4, java, testNG.
Demonstration of a common framework to automate multiple sites:
1. orangeHRM
2. SwagLabs

---

### Stack:

1. Java 17
2. [Selenium 4](https://www.selenium.dev/documentation/webdriver/)
3. [Extent reports 5](https://extentreports.com/docs/versions/5/java/index.html)
4. [TestNG](https://testng.org/)
5. [GSON](https://github.com/google/gson)
6. [Apache POI](https://poi.apache.org/)
7. [DataFaker](https://www.datafaker.net/documentation/getting-started/)
8. [log4j](https://logging.apache.org/log4j/2.x/index.html)

---

### Browser support:

1. Chrome
2. Firefox

---

### Build tool:

- [Maven](https://maven.apache.org/)

---

### Steps to run

**Pre-requisites**:

1. Java 17.
2. Chrome and firefox on the system.
3. Intellij.

**Steps**:

1. Clone this repo.
2. Import as a project by selecting pom.xml.
3. Run ``` mvn clean install -DskipTests``` to install dependencies.
4. Run mvn ```mvn -q clean test``` to run tests.

---

### Automation topics covered[WIP]:

---

### Reports:

Extent:
![img.png](extentReport.png)

---

TestNg:
![img_1.png](testNgReport.png)

---

### Logs:

![img_2.png](log4jLog.png)
---

### CI/CD:
![{10C6B68C-F416-44BB-B4E9-5641ADD8E8B3}](https://github.com/user-attachments/assets/8b9c9e02-13cf-4c05-a97b-873fc8094e54)

---

![{8B8AA759-8CA4-49FC-985D-FC5C9EDCD420}](https://github.com/user-attachments/assets/2be10cb5-9989-410d-9c83-e556dba429d1)

---

#### Artifacts:

---