Gradle Installation

To install Gradle in Windows , we need to follow the following steps –   1. Download Gradle from “https://gradle.org/gradle-download/” 2. Extract it in a specific folder (Example – C:\gradle-2.5) 3. Add “GRADLE_HOME” in System […]

Share Button

Page object Model in nightwatch

nightwatch

Page object Model in nightwatch To use page object model in night watch we need to follow the below steps – 1. First setup the folder structure as mentioned in http://tanmaysarkar.com/nightwatch-setup-in-windows/ 2. Create additional “log” […]

Share Button

Nightwatch setup in Windows

nightwatch

Nightwatch setup 1. Download Node js from – https://nodejs.org/download/ and install 2. Download Selenium server from http://docs.seleniumhq.org/download/ 3. Navigate to any directory and download nightwatch from command line 4. Create the following folder structure – […]

Share Button

Cucumber Selenium Maven and Junit

cucumber

To execute our first cucumber script for selenium we need to follow the below steps – 01. Create a maven project in eclipse 02. Add the following dependency on POM.xml 03. Now create “StepDefinition.java”, “CucumberExecutor.java” […]

Share Button

Run TestNG project From Jenkins with BAT file

Jenkins

Run TestNG project From Jenkins with BAT file only 1. First Create a sample Java Project 2. Create “lib” folder and put testng jar on it. 3. Add TestNG library from build path 4. The […]

Share Button