--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-users...@googlegroups.com.
To post to this group, send email to testng...@googlegroups.com.
Visit this group at http://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/groups/opt_out.
You can refer to my blog post : http://rationaleemotions.wordpress.com/2013/07/31/pretty-printing-with-testng/ and see if that helps you get started.
On Friday, January 31, 2014, QA Lead <sanjee...@gmail.com> wrote:
Hi,--
Using @DataProvider(name="runMode"), I am able get runMode and then using @DataProvider(name=testCases") I am able to read each tests from one or more sheets along with corresponding value from data sheet (used @DataProvider(name="runMode") data-provider). But my @Test(Data-Provider="testCases") gives same name for each run. Let us say it run 50 times then it will show like below
ReadSuite.testDataPr
ovi(java.lang.String,
java.lang.String,
java.lang.String,
java.lang.String,
java.lang.String,
java.lang.String,
java.lang.String)
for each run. I want it should give 50 names based on keyword.
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-users+unsubscribe@googlegroups.com.
To post to this group, send email to testng...@googlegroups.com.
Visit this group at http://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/groups/opt_out.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-users...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to
testng-users...@googlegroups.com.
To post to this group, send email to
testng...@googlegroups.com.
Visit this group at
http://groups.google.com/group/testng-users.
For more options, visit
https://groups.google.com/groups/opt_out.
--
Thanks & Regards
Krishnan Mahadevan
"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @
http://wakened-cognition.blogspot.com/
--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
testng-users...@googlegroups.com.
To post to this group, send email to testng...@googlegroups.com.
Visit this group at
http://groups.google.com/group/testng-users.
For more options, visit
https://groups.google.com/groups/opt_out.
To post to this group, send email to testn...@googlegroups.com.
Visit this group at http://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/groups/opt_out.
--
Thanks & Regards
Krishnan Mahadevan
"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-users...@googlegroups.com.
To post to this group, send email to testng...@googlegroups.com.
Visit this group at http://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-users...@googlegroups.com.
To post to this group, send email to testn...@googlegroups.com.
Hi
A POJO (Plain Old Java Object) is just a simple java class. For example this is a POJO:
public class MyPojo {
private String a;
public MyPojo(String a) {
this.a = a;
}
public String getA() {
return a;
}
@Override
public String toString() {
return a;
}
}
You can have your DataProvider return POJO’s, and your @Test methods can take POJO’s as arguments.