dharmakrish6 / KrishnaFramework

This framework will have POM,Allure and Log4J integrated. Also we have custom function for each action to help user to get it done the automation done soon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KrishnaFramework

Introduction

Created simple framework for the people one who wants to use for their Projects. It has integration with POM,TestNG and Allure Reports. For the Logging Log4j also integrated.

Installation

By default it has configured with Chrome browser with Mac Platform. Download the chromedriver for your platform from ChromeDriver.

Replace your chromedriver in the /driver directory.

Custom Function

Refer the LoginPage.Java.
Once you inherit the BaseClass, you can use our custom function.

click(element): To click on the element Parameter- WebElement

typeText(element,value in string): Type the text in the element Paramenter- WebElement,String value

. . .

Reports

Once the Successfull run , If you wants to get the Allure reports . There is one more things to do

Run this command KrishnaFramework > ./scripts/createAllureScripts.sh Wait for sometime to load the reports with your browser.

Sample Reports here

sample report

About

This framework will have POM,Allure and Log4J integrated. Also we have custom function for each action to help user to get it done the automation done soon


Languages

Language:HTML 50.6%Language:JavaScript 16.2%Language:Shell 10.1%Language:CSS 9.0%Language:Java 8.3%Language:Batchfile 5.7%