Problem executing testcases from command line.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem executing testcases from command line.

Jaya Nagdev

Hi,

When i use ecllipse for running the test cases, it executes in the
order the test tags are specified in the testng.xml file. But when the
same thing is executed from comman line i am not geeting the same
behoviour of executing the test cases <test> tag wise.

What do i do to achieve the sequencial execution for <test> tag in xml
file .. from command line option.

Jaya..


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at http://groups.google.com/group/testng-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply | Threaded
Open this post in threaded view
|

Re: Problem executing testcases from command line.

Cédric Beust ♔
Jaya,

Can you post your code and the two different traces you are seeing?

--
Cedric


On 1/8/07, JayaN <[hidden email]> wrote:

Hi,

When i use ecllipse for running the test cases, it executes in the
order the test tags are specified in the testng.xml file. But when the
same thing is executed from comman line i am not geeting the same
behoviour of executing the test cases <test> tag wise.

What do i do to achieve the sequencial execution for <test> tag in xml
file .. from command line option.

Jaya..







--
Cédric
--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at http://groups.google.com/group/testng-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply | Threaded
Open this post in threaded view
|

Re: Problem executing testcases from command line.

Jaya Nagdev

Well sorry for reporting wrong bug...

I tried putting a custom listener to it & traced the execution, it was
fine as expected.

Thanks.
Jaya


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at http://groups.google.com/group/testng-users?hl=en
-~----------~----~----~----~------~----~------~--~---