Skip to content

About

Selenium UI tests in Java with Cucumber, Maven and Log4j2

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

26 Commits

Folders and files

Repository files navigation

Selenium-UI-Java-Cucumber

# Important
Make sure you have JAVA 8 or above installed to run this test

Technologies

Jave
Selenium
Cucumber
log4j2
Maven

Default properties

Default.properties file can be found in the root directoy.
   - Make sure you confirgure the webdriver path as for your OS(Windows/Mac).
   - Define the browser type(CHROME/FIREFOX) as for your requirment. Only one browser can run at a once.
   - Browser mode can be set to headless.

Run Test

To run all the test and generate report in target directory(cucumber-report-html)
    Run 'install' using maven Intellij IDEA plugin or if maven is install locally run the below commond in the terminal by going to the root directory.
    'mvn clean install'

Logs

Will be created under the logs directory in root

Sample console log

img.png

Sample log file with class info.

img_1.png

Reports

Overview

img.png

Feature view with scenario and steps

img_1.png

Example fail scenario

img_2.png

About

Selenium UI tests in Java with Cucumber, Maven and Log4j2

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages