In this chapter, we are going to install Selenium WebDriver using JAVA language and configure it with Eclipse MARS.1 version.Below are the steps.
Step 1: Install Java on your computer:
Check if your system already has Java runtime environment (JRE) or (Java Development Kit) JDK installed on your machine. If not, then it could be downloaded and installed from below link.
It is recommended to install JavaSE-1.8 and higher version to work with Eclipse IDE and
In this module we will start with TestNG. Why people use the combination of TestNG with Selenium in the market. Also why can’t we use TestNG as standalone, these are the most common question which people asks. So starting with the article look at the following pictorial diagram:
This image is tells you that what actually JUnit or TestNG does. This is a simple architecture of a framework in selenium. Whether it is keyword driven, data driven, Hybrid or modular
In previous post we have started Introduction of TestNG framework and Advantages of TestNG over Junit framework. Today we are seeing how to Install TestNG framework in Eclipse IDE.
Please follow following simple steps to Install TestNG in Eclipse. We have installed Eclipse in few days back, if you don’t have eclipse then please get installed using post: “Link”
Steps to install TestNG in Eclipse IDE:
1) Launch Eclipse IDE & under Help menu click on “Install New Software” option.
In Selenium WebDriver training tutorial we have seen how to run Selenium scripts using JUnit framework. Until now we have execute selenium tests but we have not generated reports in JUnit. In this Selenium training article series we are introducing powerful new testing framework called TestNG. The TestNG framework means Next Generation testing framework, so we are seeing what all next generation features available in TestNG, also I will talk about advantages of TestNG over Junit. I will be discussing
In our previous article we have learned basic Introduction to JUnit Annotations used in your Selenium WebDriver Automation Test script. Now I want to give you brief idea about how to use these JUnit Annotations & what is actual use in the Selenium WebDriver code.
In Selenium WebDriver if you want to run test script using JUnit framework we have to add few JUnit Annotations in Selenium WebDriver Test script. Below we are using few most commonly used JUnit annotations