Skip to content

ivanvison/E2ETesting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thank you for getting to this point. This repository was created for an E2E Testing Project created while learning Selenium with Java. Course by Rahul Shetty from www.rahulshettyacademy.com.

In this test, a particular website was used: https://www.rahulshettyacademy.com

Topics Covered - Building a Framework from Scratch

  • Create Maven Project
  • Create base and utility functions
  • Organize page objects
  • Add tests
  • DataDriving / Parameterizing tests
  • Convert into TestNG Framework
  • Log4j API
  • TestNG Listeners
  • Screenshots on Test Failures
  • Creating HTML Reports for results
  • Jenkins - CI
  • Parameterize Jenkin build with Multi options profile
  • Coding Standards to achieve encapsulation (Private locators, Public methods )
  • Removing Hardcoded paths
  • Headless execution
  • Inheritance, Interfaces and Statics in the framework
  • Consolidating test cases

Setup

  1. Clone this project.
  2. Open data.properties file and edit path to drivers variable.
  3. Open terminal/command prompt > go to project path > run command mvn test

Prerequisites (my setup):

  • Java JDK
  • Maven, Selenium, TestNG, Extent Reports, etc dependencies
  • Proper setup for System variables environment
  • Eclipse IDE
  • Jenkins

What's next for this E2EProject

  1. Refactor
  2. Try to improve how the login and forgot password is being handled during the test
  3. Understand a little bit more about methods, objects and constructors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published