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: about 2 months 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 (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-04-28T21:33:55.000Z (almost 3 years ago)
- Last Synced: 2023-03-04T23:02:18.195Z (about 2 years ago)
- Topics: datasupplier, extentreports, java, maven, page-object-model, selenium-webdriver, test-automation, testng
- Language: HTML
- Homepage:
- Size: 5.14 MB
- Stars: 21
- Watchers: 2
- Forks: 13
- 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------------------------------------------------------------


------------------------------------------------------------


------------------------------------------------------------
**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.

------------------------------------------------------------
**User has options for customization**

------------------------------------------------------------
**Email to User(s) using Java mail API**

------------------------------------------------------------
**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:

- Security -> Turn on : Less Secure App access:
------------------------------------------------------------
**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.
------------------------------------------------------------