Skip to content

Latest commit

 

History

History
54 lines (33 loc) · 1.29 KB

README.md

File metadata and controls

54 lines (33 loc) · 1.29 KB

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