Hi Jason,
yes your understanding of my problem is correct , earlier i alos
tried using params through data provided
But the problem is only the parameter type is getting displayed not
the actual value. i wanto to see the actual value.
Example :
Name Started
Duration Exception
**************************************************************************************************
Method1() 16:40:29 5
ms Method Failed for Value -1 (Failed
Method)
Method2() 16:40:39 3
ms
(Passed Method)
My problem is , some how i want to show a message for a passed test
(Method2) to know which value has passed and i have almost >1k values
to test.
Thanks.
On Sep 23, 11:51 pm, Jason McSwain <
jasonwmcsw...@gmail.com> wrote:
> I'm a little confused on your question:
>
> the text in an "assert" like:
>
> AssertJUnit.assertEquals("my message that will help me determine whey there
> was a failure here", expectedValue, actualValue);
>
> this message isn't relevant when a test passes.
>
> What you really want to do is generate unique test names for all tests, so
> that you can see each iteration of the test's context. If this is what you
> are actually looking for, then please refer to section "5.5.3 - Parameters
> in reports" of the documentation.
http://testng.org/doc/documentation-main.html#parameters-reports
>
> I hope this helps,
> -Jason-*
>
> *
> On Thu, Sep 22, 2011 at 12:03 PM, sushantra mahapat <
>
>
>
>
sushantkuma...@gmail.com> wrote:
> > Hi ,
> > i am running a parameterised tests to test some urls.
> > for failed url's i could print the message in the report it self , but for
> > passed tests i am not not able to show the message even though i have a
> > message in the
> > assert .
>
> > since all tests have the same name , i couldn't make out which url's
> > passed.
>
> > Thanks,
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "testng-users" group.
> > To post to this group, send email to
testng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> >
testng-users...@googlegroups.com.
> > For more options, visit this group at
> >
http://groups.google.com/group/testng-users?hl=en.- Hide quoted text -
>
> - Show quoted text -