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

https://github.com/abdulmannan6643234/selenium-testing-framework

Automation testing Framework built with java, Selenium WebDriver and TestNG
https://github.com/abdulmannan6643234/selenium-testing-framework

automation-framework java qa-automation selenium software-testing testng ui-testing webdriver

Last synced: about 1 month ago
JSON representation

Automation testing Framework built with java, Selenium WebDriver and TestNG

Awesome Lists containing this project

README

          

# Selenium Testing Framewok
Automation Testing Framework built with Java, Selenium WebDriver and TestNG for scalable and maintainable UI testing.

## Features
- Modular test structure using TestNG
- Reusable page object design pattern
- Easy test execution and reporting
- Automated Login form submission tests

## Getting Started
### Prerequisites
Ensure you have the following installed:
- Java 9+
- Maven
- TestNG Plugin
- Selenium WebDriver
### Installation
Clone the repository and install dependecies:
```bash
git clone https://github.com/AbdulMannan6643234/Selenium-testing-framework.git
cd Selenium-testing-framework
mvn clean install
```
### Running Tests
To run tests using testng.xml:
```bash
mvn test -Dsurefire.suiteXmlFiles=testng.xml
```
## Project Structure

```text
Selenium-testing-framework/
├── src/main/java/pages/ # Page Objects and Utilities
└── src/test/java/ # TestNG test classes
├── pom.xml # Maven dependencies
├── testng.xml # Contains suite configurations
├── screenshots # Includes screenshots of successful test runs
```
### Future Improvements
- Add more comprehensive test coverage
- Integrate Reporting with Slack notifications
- Parametrize Tests for multiple environments

# Screenshots / Reports
## Alerts
![Alert Test Run](/screenshots/Alerts.png)
Test Framework to interact with Alerts and Popups.

## Login
![Login Flow](/screenshots/Login.png)
Test Framework to automate login flow.

## Dropdown
![Dropdown Test Run](/screenshots/Dropdown.png)
Test Framework to interact with dropdown menus.

## FileUpload
![FileUpload Test](/screenshots/FileUpload.png)
Test Framework to upload files.

## Hover
![Hover Test Run](/screenshots/Hover.png)
Using Actions class to hover over objects.

## Scroll Test
![Scroll Test Run](/screenshots/ScrollwithJS.png)
Using javaScript to automate scrolling in a webpage.

## Tab Switching
![Tab Switch Run](/screenshots/TabSwitching.png)
Test Framework to switch tabs.

## Waits
![Waits Test Run](/screenshots/Waits.png)
Using waits to delay the exceptions on a loading page.