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.
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.
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
. . .
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