Tuesday, June 20, 2017

Importance of testng.xml and How to create it?

The importance of the testng.xml file is to define the order of execution of different tests. User can put all the tests together in one testng.xml file or can create separate testng.xml files for different based on the requirement.

Sunday, June 11, 2017

Writing first Selenium test case with TestNG

Let us start write a simple test case, launching the website and verifying it's title.

Step 1: Launch Eclipse, Right Click on project source folder (src) --> TestNG --> Create TestNG Class

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.

Java Program 5: How to reverse given string and each word of it?

Let us understand the problem with an example, suppose "Learn Core Java" is the given string then the expected output should be &...