Skip to content

ruchikaJagotta/selenium-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo - Selenium, TestNG & report generation.

This framework is based on Selenium Webdriver & TestNG as hybrid framework. Test Data has been entering in form of XML file. Log4j has been entering the logs and screenshots for failed scenarios are collected at specified location. Report is generated and mailed to the recipients.

Softwares used:

1.Eclipse IDE

2.Selenium version 3.10.0

3.Log4j version 1.2.17

4.Apache maven plugin version 2.5.2

5.ChromeDriver Version 65.0.3325.181 (Official Build)

6.TestNG

Environment Setup

Clone or download source from project code. Clone repository to eclipse git repositories. Import project from cloned git repository. It is an maven project.

Install TestNG plugin to eclpise if it is not installed.

Open mail.properties file and update following properties value. This is used to send mail of execution test result.

mail.smtp.from

mail.smtp.to

mail.smtp.password

*NOTE: Application should be up and running

Running the tests via Eclipse

Open or navigate to DemoTest.java file.

Run DemoTest.java file as TestNG Test

Running the tests via command line mvn

mvn install 

Project description

Framework contains 3 main classes.

1. Login 
2. Branch 
3. Staff

Login has test cases which checks the login functionality with authenticati.....

Branch class runs the basic functionality for adding , editing , viewing and deleting the branch. Along with that it checks for the validation messages corresponding to the maxlength/minlength/pattern of the name and code text.

Staff class runs the fucntionality as same for branch class , like adding , editing , viewing and deleting the staff. Along with that it checks for validation messages corresponding to the mandatory/maxlength/pattern of the name text.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages