Skip to content

Latest commit

 

History

History
66 lines (46 loc) · 3.31 KB

README.md

File metadata and controls

66 lines (46 loc) · 3.31 KB

Selenium - Web Automation Framework

Test automation framework for web applications using Selenium 4 and Java

WebDriver-W3C-Protocol-1

🚀 Quick Start

  1. Install Java JDK11
  2. Download IntelliJ IDEA
  3. Download Docker Desktop

📌 Tech stack

java selenium testng jenkins docker

📌 Running tests through testng xml

👉 Create or Select the required testng xml -> Right click and select Run

📌 Running tests through Maven

👉 Run test using command mvn test -DsuiteXmlFile=<provide the testng xml to execute>

📌 Key Features

👉 Supports cross browser testing in local and remote.

👉 Ability to execute tests in Selenium Grid or Selenoid using Docker.

👉 Page object model design.

👉 Supports parallel and sequential execution of tests.

👉 Supports capturing screenshots for passed/failed/skipped steps which is configurable through config.properties

👉 Ability to retry failed tests which is configurable through config.properties

👉 Customised exception handling to provide the exceptions in a meaningful way.

👉 Custom framework annotation to provide author name and category for each test.

👉 Supports utilities to read test data from excel workbook and provides data to each test based on the test name.

👉 Ability to configure and schedule jenkins job to build triggers automatically

🚀 Selenoid Quick Start Guide

Click here for Selenoid Quick Start Guide

Docker commands

To Run Elasticsearch

docker run -p 9200:9200 -p 9300:9300 --name elasticsearch -e "discovery.type=single-node"  docker.elastic.co/elasticsearch/elasticsearch:7.11.1

To Run Kibana

docker run -p 5601:5601 --name kibana --link elasticsearch:elasticsearch docker.elastic.co/kibana/kibana:7.11.1

Credits

This framework is built by following Testing Mini Bytes YouTube channel.