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?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ae9f79fc-aaa5-44d1-8d79-5910d8a422a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to