Jenkins + Testlink Integration for data driven framework

59 views
Skip to first unread message

manasi sattarkar

unread,
Sep 24, 2015, 1:06:01 AM9/24/15
to Jenkins Users

Hi,

My scenario is:
For login :
testcase id:1
Java Class: CustomerSignIn#login
Data
Username:user1
password:password1

Testcase Id:2
Java Class: CustomerSignIn#login
Data
Username:user2
password:password2

Here the difference between two testcases is only data.I am passing data from property files and in testNG test case is only one.
Please see below configurations:

testng.xml
<suite name="Gmail test suite" verbose="10" thread-count="3">

<parameter name="platform" value="Windows" />
<parameter name="browser" value="ie" />

<test name="Login">
<parameter name="loginUrl" value="https://mail.google.com"/>
<classes>
<class name="com.gmail.CustomerSignIn" />
</classes>
</test>
</suite>

for Jenkins configurations I have attached images.

I tried to execute test case 1 but when I run jenkins build it executes my both test cases.
Can anyone help me here?

Testlink result.JPG
Jenkins configuration.JPG
Reply all
Reply to author
Forward
0 new messages