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.
Tuesday, June 20, 2017
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.
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.
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.
Subscribe to:
Posts (Atom)
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...
-
POST is a http method, it is used for creating the new resources on the server. In particular, it is used for creating the subordinate reso...
-
With the help of Robot class we can Zoom In or Zoom Out the browsers in Selenium Automation. We need to press CNTRL+ADD (symbol '+'...
-
A new method newWindow() is introduced in Selenium 4 (Alpha). Using this method we can open a new tab or new window from the current window...