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

https://github.com/abdelrhman-ellithy/the-internet-herokuapp


https://github.com/abdelrhman-ellithy/the-internet-herokuapp

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

          

# The-Internet-Herokuapp

## Project Overview

## Key Features:
- **Advanced Locators & Complex Web Element Interactions**: Automated test scripts utilize sophisticated locators and interact with dynamic and complex web elements.
- **POM Design Pattern**: Applied to improve code structure, reduce duplication, and enhance readability.
- **Test Reporting**: Generated detailed and insightful test execution reports using Allure.
- **Cross-Browser Testing**: Ensured compatibility across browsers using TestNG XML files and parameterization.

## Execution:
- **Test Execution Link**: [LinkedIn Post](https://www.linkedin.com/posts/abdelrahman-ellithy-3841a7270_xpath-css-pom-activity-7224476384692191234-TtF5?utm_source=share&utm_medium=member_desktop)

## Project Structure

```
The-Internet-Herokuapp
├── src
│ ├── main
│ │ ├── java
│ │ │ ├── Pages
│ │ │ │ └── AlertsPage.java
│ │ │ │ └── DragDropPage.java
│ │ │ │ └── DropDownPage.java
│ │ │ │ └── DynamicLoadingPage.java
│ │ │ │ └── HomPage.java
│ │ │ │ └── HorizontalSliderPage.java
│ │ │ │ └── HoverPage.java
│ │ │ │ └── LoadingExample1.java
│ │ │ │ └── LoadingExample2.java
│ │ │ │ └── LoginPage.java
│ │ │ │ └── SecureAreaPage.java
│ │ ├── resources
│ │ │ ├── properties
│ │ │ │ ├── default
│ │ │ │ │ └── allure.properties
│ │ │ │ │ └── config.properties
│ │ │ │ │ └── log4j2.properties
│ ├── test
│ │ ├── java
│ │ │ ├── Tests
│ │ │ │ └── AlertsTests.java
│ │ │ │ └── BaseTests.java
│ │ │ │ └── DragDropTests.java
│ │ │ │ └── DropDownTests.java
│ │ │ │ └── DynamicLoadingPageTests.java
│ │ │ │ └── HorizontalSliderTests.java
│ │ │ │ └── HoverPageTests.java
│ │ │ │ └── loginTests.java
│ │ ├── resources
│ │ │ ├── TestData
├── Test-Output
│ ├── Logs
│ │ └── Test.log
│ ├── Reports
│ │ ├── Allure
│ │ │ ├── allure-report
│ │ │ │ └── Ellithium-Test-Report-2024-09-28-12-54-22PM.html
│ │ │ ├── allure-results
│ ├── ScreenShots
│ │ ├── Failed
├── .idea
│ └── compiler.xml
│ └── encodings.xml
│ └── jarRepositories.xml
│ └── misc.xml
│ └── uiDesigner.xml
│ └── vcs.xml
│ └── workspace.xml
│ └── .name
└── TestNGRunner.xml
└── pom.xml
└── README.md
```

## Maven Dependencies
```xml


io.github
Ellithium
${Ellithiumversion}

```

## TestNG Configuration (TestNGRunner.xml)
```xml



































```

## How to Run the Project

- Run the tests using Maven:
```bash
mvn clean test
## Notes:
- The project includes tests for various web elements like alerts, drag and drop, dropdowns, dynamic loading, sliders, and login functionalities.
- Cross-browser testing is set up for Chrome, Edge, and Firefox, and the browser can be switched by changing the `BrowserName` parameter in the `TestNGRunner.xml`.
- Allure is used for test report generation, offering detailed insights into the test results.