Skip to main content

Posts

Showing posts from August, 2016

Data Driven test using EasyTest

We can use many methods for Data Driven testing. JUnit or TestNG has its own way to parameterize their test. Today we will discuss about a very easy method to parameterize out test. We will use a small library named EasyTest. As the name suggest it's very easy!! W e will use maven to manage out dependencies. I will use IntelliJ IDEA community edition for this project but the instructions can easily be followed by an y IDE like Eclipse or NetBeans. First create a maven project with your desired groupID and artifactID, I will use com.testautomationabc.test as groupID and data-driven-test as artifactID. Now locate you pom.xml file which is looks like this <? xml version= "1.0" encoding= "UTF-8" ?> < project xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance"     xmlns= "http://maven.apache.org/POM/4.0.0"   xsi :schemaLocation= "http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd...