Please Help . Issue while executing classes in Testng.xml file

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

Please Help . Issue while executing classes in Testng.xml file

Pradeep kumar-2

Hi,

Iam facing one strange issue.
Iam keeping all test cases in testng.xml and keeping parameter preserve-order= true
but out of 15 test cases one of the test case is present in the middle but it always executes at last.
can i get help from any one??

In that testng.txt file below class always executes at last. Can you guys help me iam struck with this issue.

 <class name="com.jamcracker.testcases.customeManagement.TC007NetworkInterface"></class>

How am Running Test cases?
iam creating a build using maven then i use below command  to execute
java -jar <<Jar file name>>

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/eeb0acd3-4b6a-4e56-9d07-17d53d5b2a8a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

testng.xml (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Please Help . Issue while executing classes in Testng.xml file

Pradeep kumar-2
Any Help ???

On Friday, May 11, 2018 at 11:01:53 AM UTC+5:30, Pradeep kumar wrote:

Hi,

Iam facing one strange issue.
Iam keeping all test cases in testng.xml and keeping parameter preserve-order= true
but out of 15 test cases one of the test case is present in the middle but it always executes at last.
can i get help from any one??

In that testng.txt file below class always executes at last. Can you guys help me iam struck with this issue.

 <class name="com.jamcracker.testcases.customeManagement.TC007NetworkInterface"></class>

How am Running Test cases?
iam creating a build using maven then i use below command  to execute
java -jar <<Jar file name>>

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/80863802-2da0-49c1-9a93-3ae40048c096%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.