Giter Club home page Giter Club logo

masterseleniumframework's Introduction

MasterSeleniumFramework

With further updates - This project is designed and developed with the help of -

  1. Udemy course (OmPrakash Chavan - Selenium Java Test Framework & Best Practices - Masterclass) - Learnings from Course (UDEMY - OC - Selenium).pdf
  2. YouTube playlist (Testing Mini Bytes - Selenium Automation Framework with Real-time dashboard)

It has a concept of Atomic tests (Achieved by Selenium WebDriver API and RestAssured API)

Atomic Tests:

image

image image

Updations done:

ExtentReports V5

  1. User can apply the Filters -
  • Author - Rajat, Nishant, Gautam, Pankaj
  • Browser - Chrome, Edge, Safari, Firefox
  • TestType - Smoke, Sanity, Regression, BVT
  1. Screenshots are attached in the ExtentReport as Base64 format. image image

Allure Reports image

User has options for customization image

Email to User(s) using Java mail API image

Others implementations:

  1. Retry failed test cases
  2. Custom Enums, Exceptions, Annotations
  3. Serialization and Deserialization using Jackson-Databind dependency
  4. Data Driven testing using JSON file

  1. Icons addition in ExtentReport a. Browser icon with every test case b. Test status Test Description -> Last -> Pass (Happy), Fail (Sad) c. WIN + Browser d. Navigating to Right e. Details (Add Rajat linkedIn and Github URL) Make them Links and align it with Name

  1. Zip the ExtentReports directory into Project path (you can send this Zip file as well as an Attachment in Email)
  2. Automatically open the report after tests execution.

  1. Send EMail using Java mail API to User(s) with attachment(s).

How to run the Project from Local machine

  1. Pull the code into your machine and import in IDE (Eclipse/intelliJ).
  2. Go to testng_Local.xml -> Run this file as TestNG suite It should start the execution -> Parallel Cross Browser Testing.
  • NOTE: stg_config.properties is the default configuration file.
  1. To view the Allure reports
  • Setup the Allure in your machine
  • Go to URL (https://docs.qameta.io/allure/) -> Search for Manual installation -> Steps are mentioned
  • Go to your project location
  • Open command prompt -> allure serve allure-results

How to run the Project from Jenkins __Final-OC_Selenium-Github-ActiveChoiceParams.pdf image

Email to User(s) using Jenkins: image

masterseleniumframework's People

Contributors

rajatt95 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

masterseleniumframework's Issues

On running the testng suite , getting the below error

Error opening zip file or JAR manifest missing : C:\Program Files\eclipse\plugins\com.google.appengine.eclipse.sdkbundle_1.9.4\appengine-java-sdk-1.9.4\lib\agent\appengine-agent.jar
Error occurred during initialization of VM
agent library failed to init: instrument

Java Version -17 , Eclipse Version -2022-06(4.24.0)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.