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">
<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?