Saturday, June 10, 2017

Create TestNG project for Selenium Automation

This is very simple, in a nutshell we just need to add the TestNG and Selenium libraries or jar files to a java project.

To create  a TestNG project for selenium automation, eclipse should be installed with the TestNG plug-in.

If you need any help in installing TestNg plugin please check the post Install TesNG plugin in eclipse IDE.

Thursday, June 8, 2017

Jenkins Installation and Java Configuration for Windows

Jenkins can be downloaded and installed easily. Please follow below steps.

Step 1: Go to the URL  https://jenkins.io/download/

Step 2: Under Long-term Support (LTS) column, check for “Generic Java Package (.war)” to download the “jenkins.war” file.

Introduction to Continuous Integration and Jenkins

Continuous Integration is a software development practice in which developers will be committing their code copies to central repositories (Git, SVN GitHub) frequently and for each integration automated build verification tests (unit tests) will be executed to accept or reject the build.

Sunday, May 28, 2017

Installing TestNG Plugin in Eclipse

TestNG is comes as Eclipse IDE plug-in. It can be installed easily, please follow the steps below.

Step 1: Open Eclipse IDE and click “Install New Software” from Help menu.

Friday, March 3, 2017

How Create Maven Project for Selenium - Cucumber Automation?

In First Test Case in Selenium with Cucumber post we created java project and added all the required Jars to project build path. This involved more manual intervention work like downloading jars one by one from Maven Central Repository. But in Maven project we will avoid that maven intervention by adding all the dependencies in pom.xml.

Dependencies Required for Maven Project for Selenium with Cucumber:
        1. cucumber-java
        2. cucumber-junit
        3. junit
        4. selenium-standalone-server
Follow the below steps :
Step 1: Install Maven Plugin in Eclipse IDE

Maven Tutorial 01: How to install Maven Plugin in eclipse IDE?

Steps to install Maven in Eclipse IDE:

1. Launch Eclipse IDE and Select Help > Install New Software

Wednesday, March 1, 2017

How to write multiple test cases in Selenium with Cucumber?

In this post we will learn about writing multiple test cases (Scenarios) in a Feature file. This post is going to be an extension to the previous post First Test Case in Selenium with Cucumber. So please go through it to understand the current post better. Let's get started step by step...

Step 1: This time we are taking "Gmail valid login validation" as our test. Please copy the below code snippet in our feature file created "gmailLogin.feature" file and save it.

DevOps 01: What is DevOps and How it benefits organizations?

DevOps is a culture in an organization, where the development team and operations team help each other by sharing information, process and t...