Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rajatt95/tmb_seleniumframework2
Automation Testing | Web | Java | OOPS | Selenium WebDriver | TestNG | Maven | ExtentReports | Java mail API | Design Pattern(Page Object Model) | Owner | Data Supplier | Custom Annotations and Enums
https://github.com/rajatt95/tmb_seleniumframework2
datasupplier extentreports java maven page-object-model selenium-webdriver test-automation testng
Last synced: 16 days ago
JSON representation
Automation Testing | Web | Java | OOPS | Selenium WebDriver | TestNG | Maven | ExtentReports | Java mail API | Design Pattern(Page Object Model) | Owner | Data Supplier | Custom Annotations and Enums
- Host: GitHub
- URL: https://github.com/rajatt95/tmb_seleniumframework2
- Owner: rajatt95
- Created: 2022-02-23T19:25:08.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-04-28T21:33:55.000Z (over 2 years ago)
- Last Synced: 2024-10-25T13:18:04.460Z (2 months ago)
- Topics: datasupplier, extentreports, java, maven, page-object-model, selenium-webdriver, test-automation, testng
- Language: HTML
- Homepage:
- Size: 5.14 MB
- Stars: 29
- Watchers: 3
- Forks: 18
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TMB_SeleniumFramework2
This project is designed and developed with the help of -
1. Selenium - Java with Docker, Git and Jenkins (https://www.testingminibytes.com/courses/selenium-java-with-docker-git-and-jenkins)
2. Learnings from Course - Github_TMB_Selenium - Java with Docker, Git and Jenkins------------------------------------------------------------
![image](https://user-images.githubusercontent.com/26399692/155394468-276d8a47-8425-4d42-be05-81cc0162da64.png)
![image](https://user-images.githubusercontent.com/26399692/155394512-2f51ccd0-0bac-4350-9455-0b92d5cdedc6.png)
------------------------------------------------------------
![image](https://user-images.githubusercontent.com/26399692/155396875-133fe246-ed52-42b1-b007-0a3d7b9025b8.png)
![image](https://user-images.githubusercontent.com/26399692/155396925-7b96cfb4-8746-4239-a15e-20808def51a2.png)
------------------------------------------------------------
**ExtentReports V5**
1. User can apply the Filters -
- Author - Rajat, Nishant, Gautam, Pankaj
- Browser - Chrome, Edge, Safari, Firefox
- TestType - Smoke, Sanity, Regression, BVT2. Screenshots are attached in the ExtentReport as Base64 format.
![image](https://user-images.githubusercontent.com/26399692/155394977-86801396-1c1f-4889-83af-21b16fafce74.png)
![image](https://user-images.githubusercontent.com/26399692/155395075-f74f2a24-3a85-493f-bca5-a7635b9d43b9.png)------------------------------------------------------------
**User has options for customization**
![image](https://user-images.githubusercontent.com/26399692/155395550-a7fc790c-a9c8-4e10-96af-1baf6ad95187.png)
------------------------------------------------------------
**Email to User(s) using Java mail API**
![image](https://user-images.githubusercontent.com/26399692/155395917-43d1969f-3552-46c0-ab69-f09d8b03f0a5.png)
------------------------------------------------------------
**Others implementations:**
1. Custom Enums, Exceptions, Annotations
2. Data Driven testing using .xlsx file (Reading values with the help of Data Supplier)
-------------------------------
3. Icons addition in ExtentReport (Browser icon with every test case | Test status | Test Description -> Last -> Pass (Happy), Fail (Sad) | OS + Browser | Details in Dashboard page of ExtentReport (Rajat linkedIn and Github URL)
------------------------------
4. Zip the ExtentReports directory into Project path (you can send this Zip file as well as an Attachment in Email)
5. Automatically open the report after tests execution.
----------------------------------
6. Send EMail using Java mail API to User(s) with attachment(s).
- https://mvnrepository.com/artifact/javax.mail/mail/1.4.7
- https://www.tutorialspoint.com/java/java_sending_email.htm
- Gmail -> Manage your Google account:
![image](https://user-images.githubusercontent.com/26399692/137579937-12c01d4d-1f62-4867-8c40-c056391d3b7e.png)
- Security -> Turn on : Less Secure App access:
![image](https://user-images.githubusercontent.com/26399692/137579959-e1554f06-5583-4ad1-ad28-ed69ed27b922.png)------------------------------------------------------------
**How to run the Project from Local machine**
1. Pull the code into your machine and import in IDE (Eclipse/intelliJ).
2. Run Project as Mvn test
It should start the execution -> Parallel Browser Testing.
- **NOTE:** config.properties (./src/test/resources/config) is the configuration file.
------------------------------------------------------------