Skip to content

acharjeeauntor/guru99BankingDemoProject_Selenium

Repository files navigation

guru99BankingDemoProject

This is a Demo project for Automation Testing using Selenium.

Project website link: http://demo.guru99.com/v4/


Technology

Tool: selenium
Build tool: Maven
Language: Java
Framework: TestNG,Data Driven Framework(DDF)
Report: Extent
Project Structure: Page object Model(POM)
Dependency Used:apache poi,extentreports,log4j,testng,selenium-java,etc
IDE: Intellij


Project Architecture:

Selenium_web_project_Arch


To Run the project with Different Test Runner:

Use the following command from the Cmd: mvn clean test -Dfilename=testNG_File_name.xml
Example: mvn clean test -Dfilename=regression_testng.xml


Number Of Module: 3
Total testcase: 98
Total Bug:11

Test Report Location:

project root -> test-output-> Test-Report-date.html

Sample Report Screenshot

Deposit section Report

deposit

Fund Transfer section Report

fund

WithDrawal section Report

withdrawal


Jenkins Related Info:

This project is basically a demo test automation site provided by guru99 where we have brought three modules (Account, Customer, Manager) under test automation. In this project, we have applied data-driven testing and we created four types of test runners (Sanity, Regression, Parallel, and Master)using testNG framework. We can define which browser to test and in which mode (Headed/Headless) the browser will run as parameters in this test runner file.
In the pom.xml file, we have configured to dynamically import the test runner file using maven-surefire-plugin, so now if you provide any test runner file name from the command line, the test will be run automatically through the expected test runner.

We have done jenkins integration in this project. In Jenkins, we create a maven project where we have given the Git repository link so that whenever these will be first imported the updated codes and then postscript will run as per the script given in the video.In the video, we have used the script to run the regression test and the name of this script is sent dynamically i.e. if we write another test runner name after the filename parameter then the tests of the test runner will be run, and finally, after the test run is completed a testNG report will be generated.

To See the Demo Video click here

About

This is a Demo project for Automation Testing using Selenium.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published