Re: How to run multiple test suites using maven

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

Re: How to run multiple test suites using maven

Nathan Beach
Krishnan -- you are a genius.  That suiteFile property idea worked perfectly for me.  

I'm surprised more people on earth don't seem to want to be able to run a specific suite xml file (I've searched all over for a way before I found this thread). 

If this were on stackoverflow, I'd upvote you.  Thanks!

NBB

--
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/12b4d8b2-1365-4c04-b2c2-466852dfaff7%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: How to run multiple test suites using maven

⇜Krishnan Mahadevan⇝
Am glad it worked. :)

On Friday, August 16, 2013, Nathan Beach wrote:
Krishnan -- you are a genius.  That suiteFile property idea worked perfectly for me.  

I'm surprised more people on earth don't seem to want to be able to run a specific suite xml file (I've searched all over for a way before I found this thread). 

If this were on stackoverflow, I'd upvote you.  Thanks!

NBB

--
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 <a href="javascript:_e({}, &#39;cvml&#39;, &#39;selenium-users%2Bunsubscribe@googlegroups.com&#39;);" target="_blank">selenium-users+unsubscribe@....
To post to this group, send email to <a href="javascript:_e({}, &#39;cvml&#39;, &#39;selenium-users@googlegroups.com&#39;);" target="_blank">selenium-users@....
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/12b4d8b2-1365-4c04-b2c2-466852dfaff7%40googlegroups.com.
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 "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/CANikZLnKDkLYGikDwz_OU1nuHNz2GRjsVruT%3DShrCQHSr5ngKA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: How to run multiple test suites using maven

urbuddy2k
In reply to this post by Nathan Beach
H Krishnan,

I am new to selenium a,TestNG and maven, but the same requirement i need to implement in my project. please can you share samples how you achieved this.

1. How to create testsuite xml in selenium
2. how we can run a required suite from different test suites
3.is it required to configure all test suites in testng?
4.how to configure that testNG xml file in POM XML?
5.how i can run a specific test suite from maven.

please, dont mind, am very new to this tool.


On Friday, August 16, 2013 at 12:21:59 AM UTC+5:30, Nathan Beach wrote:
Krishnan -- you are a genius.  That suiteFile property idea worked perfectly for me.  

I'm surprised more people on earth don't seem to want to be able to run a specific suite xml file (I've searched all over for a way before I found this thread). 

If this were on stackoverflow, I'd upvote you.  Thanks!

NBB

--
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/e6ad5209-2726-4ccd-9d61-998748e941f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to run multiple test suites using maven

⇜Krishnan Mahadevan⇝
First things first.
Your query doesn't have anything to do with WebDriver/Selenium. I would recommend that you please post your query [ 1 post per query is what I would recommend ] in the testng-users google forum.

My answers to your questions :

1. How to create testsuite xml in selenium

2. how we can run a required suite from different test suites
>>>>>>>>>>>>I am not sure what you are asking for here.

3.is it required to configure all test suites in testng?
>>>>>>>>>>>>Not sure what you are asking for here.

4.how to configure that testNG xml file in POM XML?

5.how i can run a specific test suite from maven.
>>>>>>>>>>>>The answer to this question already is answered by me in this thread in an earlier response. Please go through this thread once again.



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/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/

On Wed, Aug 5, 2015 at 11:41 PM, <[hidden email]> wrote:
H Krishnan,

I am new to selenium a,TestNG and maven, but the same requirement i need to implement in my project. please can you share samples how you achieved this.

1. How to create testsuite xml in selenium
2. how we can run a required suite from different test suites
3.is it required to configure all test suites in testng?
4.how to configure that testNG xml file in POM XML?
5.how i can run a specific test suite from maven.

please, dont mind, am very new to this tool.


On Friday, August 16, 2013 at 12:21:59 AM UTC+5:30, Nathan Beach wrote:
Krishnan -- you are a genius.  That suiteFile property idea worked perfectly for me.  

I'm surprised more people on earth don't seem to want to be able to run a specific suite xml file (I've searched all over for a way before I found this thread). 

If this were on stackoverflow, I'd upvote you.  Thanks!

NBB

--
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/e6ad5209-2726-4ccd-9d61-998748e941f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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/CANikZLmgx7kcSU%2BOdeoHx%2BdZCnRhtD56ig3LJRK1D2sB7zsO4g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to run multiple test suites using maven

Srikanth K
Hello Krishnan,

i have tried running selected suite as per your instructions but maven runs all the suites mentioned under surefire plugin. Need your help to fix this issue.

Thanks in advance

On Thursday, 6 August 2015 09:11:06 UTC+5:30, Krishnan wrote:
First things first.
Your query doesn't have anything to do with WebDriver/Selenium. I would recommend that you please post your query [ 1 post per query is what I would recommend ] in the testng-users google forum.

My answers to your questions :

1. How to create testsuite xml in selenium
>>>>>>>>>>>>Refer here : <a href="http://www.tutorialspoint.com/testng/testng_suite_test.htm" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.tutorialspoint.com%2Ftestng%2Ftestng_suite_test.htm\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFIIKmHYBHKdS1tVkEUSapWCtrMuQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.tutorialspoint.com%2Ftestng%2Ftestng_suite_test.htm\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFIIKmHYBHKdS1tVkEUSapWCtrMuQ&#39;;return true;">http://www.tutorialspoint.com/testng/testng_suite_test.htm

2. how we can run a required suite from different test suites
>>>>>>>>>>>>I am not sure what you are asking for here.

<a href="http://3.is" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F3.is\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEU8SUBEF5ckVII-l1KZ4iSUfQPlQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F3.is\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEU8SUBEF5ckVII-l1KZ4iSUfQPlQ&#39;;return true;">3.is it required to configure all test suites in testng?
>>>>>>>>>>>>Not sure what you are asking for here.

4.how to configure that testNG xml file in POM XML?
>>>>>>>>>>>>Please refer here : <a href="https://maven.apache.org/surefire/maven-surefire-plugin/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fmaven.apache.org%2Fsurefire%2Fmaven-surefire-plugin%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFaRuMEsujji3MnQhlSHNZ7QDCtUA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fmaven.apache.org%2Fsurefire%2Fmaven-surefire-plugin%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFaRuMEsujji3MnQhlSHNZ7QDCtUA&#39;;return true;">https://maven.apache.org/surefire/maven-surefire-plugin/

5.how i can run a specific test suite from maven.
>>>>>>>>>>>>The answer to this question already is answered by me in this thread in an earlier response. Please go through this thread once again.



Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ <a href="http://wakened-cognition.blogspot.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;">http://wakened-cognition.blogspot.com/
My Technical Scribbings @ <a href="http://rationaleemotions.wordpress.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;">http://rationaleemotions.wordpress.com/

On Wed, Aug 5, 2015 at 11:41 PM, <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="xRsRGjOLIgEJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">urbu...@...> wrote:
H Krishnan,

I am new to selenium a,TestNG and maven, but the same requirement i need to implement in my project. please can you share samples how you achieved this.

1. How to create testsuite xml in selenium
2. how we can run a required suite from different test suites
<a href="http://3.is" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F3.is\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEU8SUBEF5ckVII-l1KZ4iSUfQPlQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F3.is\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEU8SUBEF5ckVII-l1KZ4iSUfQPlQ&#39;;return true;">3.is it required to configure all test suites in testng?
4.how to configure that testNG xml file in POM XML?
5.how i can run a specific test suite from maven.

please, dont mind, am very new to this tool.


On Friday, August 16, 2013 at 12:21:59 AM UTC+5:30, Nathan Beach wrote:
Krishnan -- you are a genius.  That suiteFile property idea worked perfectly for me.  

I'm surprised more people on earth don't seem to want to be able to run a specific suite xml file (I've searched all over for a way before I found this thread). 

If this were on stackoverflow, I'd upvote you.  Thanks!

NBB

--
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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="xRsRGjOLIgEJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">selenium-user...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="xRsRGjOLIgEJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">seleniu...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/selenium-users/e6ad5209-2726-4ccd-9d61-998748e941f0%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/e6ad5209-2726-4ccd-9d61-998748e941f0%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/e6ad5209-2726-4ccd-9d61-998748e941f0%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/selenium-users/e6ad5209-2726-4ccd-9d61-998748e941f0%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
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/f86d0ceb-bd81-4c97-bcd8-ff1464d5f278%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to run multiple test suites using maven

Srikanth K
In reply to this post by ⇜Krishnan Mahadevan⇝
Hello Krishnan,

I have set up my project as per you instructions but all the suites names under surefire plugin are running instead of the selected suite in the command. Need your help to fix this issue as i have run out of all the options trying to fix it.

Thanks in advance

On Thursday, 6 August 2015 09:11:06 UTC+5:30, Krishnan wrote:
First things first.
Your query doesn't have anything to do with WebDriver/Selenium. I would recommend that you please post your query [ 1 post per query is what I would recommend ] in the testng-users google forum.

My answers to your questions :

1. How to create testsuite xml in selenium
>>>>>>>>>>>>Refer here : <a href="http://www.tutorialspoint.com/testng/testng_suite_test.htm" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.tutorialspoint.com%2Ftestng%2Ftestng_suite_test.htm\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFIIKmHYBHKdS1tVkEUSapWCtrMuQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.tutorialspoint.com%2Ftestng%2Ftestng_suite_test.htm\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFIIKmHYBHKdS1tVkEUSapWCtrMuQ&#39;;return true;">http://www.tutorialspoint.com/testng/testng_suite_test.htm

2. how we can run a required suite from different test suites
>>>>>>>>>>>>I am not sure what you are asking for here.

<a href="http://3.is" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F3.is\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEU8SUBEF5ckVII-l1KZ4iSUfQPlQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F3.is\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEU8SUBEF5ckVII-l1KZ4iSUfQPlQ&#39;;return true;">3.is it required to configure all test suites in testng?
>>>>>>>>>>>>Not sure what you are asking for here.

4.how to configure that testNG xml file in POM XML?
>>>>>>>>>>>>Please refer here : <a href="https://maven.apache.org/surefire/maven-surefire-plugin/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fmaven.apache.org%2Fsurefire%2Fmaven-surefire-plugin%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFaRuMEsujji3MnQhlSHNZ7QDCtUA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fmaven.apache.org%2Fsurefire%2Fmaven-surefire-plugin%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFaRuMEsujji3MnQhlSHNZ7QDCtUA&#39;;return true;">https://maven.apache.org/surefire/maven-surefire-plugin/

5.how i can run a specific test suite from maven.
>>>>>>>>>>>>The answer to this question already is answered by me in this thread in an earlier response. Please go through this thread once again.



Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ <a href="http://wakened-cognition.blogspot.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;">http://wakened-cognition.blogspot.com/
My Technical Scribbings @ <a href="http://rationaleemotions.wordpress.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;">http://rationaleemotions.wordpress.com/

On Wed, Aug 5, 2015 at 11:41 PM, <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="xRsRGjOLIgEJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">urbu...@...> wrote:
H Krishnan,

I am new to selenium a,TestNG and maven, but the same requirement i need to implement in my project. please can you share samples how you achieved this.

1. How to create testsuite xml in selenium
2. how we can run a required suite from different test suites
<a href="http://3.is" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F3.is\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEU8SUBEF5ckVII-l1KZ4iSUfQPlQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F3.is\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEU8SUBEF5ckVII-l1KZ4iSUfQPlQ&#39;;return true;">3.is it required to configure all test suites in testng?
4.how to configure that testNG xml file in POM XML?
5.how i can run a specific test suite from maven.

please, dont mind, am very new to this tool.


On Friday, August 16, 2013 at 12:21:59 AM UTC+5:30, Nathan Beach wrote:
Krishnan -- you are a genius.  That suiteFile property idea worked perfectly for me.  

I'm surprised more people on earth don't seem to want to be able to run a specific suite xml file (I've searched all over for a way before I found this thread). 

If this were on stackoverflow, I'd upvote you.  Thanks!

NBB

--
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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="xRsRGjOLIgEJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">selenium-user...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="xRsRGjOLIgEJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">seleniu...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/selenium-users/e6ad5209-2726-4ccd-9d61-998748e941f0%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/e6ad5209-2726-4ccd-9d61-998748e941f0%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/e6ad5209-2726-4ccd-9d61-998748e941f0%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/selenium-users/e6ad5209-2726-4ccd-9d61-998748e941f0%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
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/57ad8dd6-13a7-44f5-9fc6-66f67f66f1b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to run multiple test suites using maven

Boopathi krishnamoorthy
In reply to this post by ⇜Krishnan Mahadevan⇝
Hi krishna,
   I have created testng.xml and created suite with two classes as below
<classes>
<class name="com.dtcc.ete.ui.SettlWebDashboardTest" />
<class name="com.dtcc.ete.ui.WindownLimitsProfileTest" />
</classes>

but i need to run only specific tests like Regression or Smoke through mvn command line and i tried the below command but it was not working for me but the same command is working fine to one of my team mate.
 i have created @ test as
@Test(groups ={"sanity","regression"},enabled = true,description="Verify SettlWebDashboard", dataProvider = "SWebAutomation")

Command i have used:
mvn test -Dgroups=regression

please suggest .
Thanks
Boopathi

On Thursday, 6 August 2015 09:11:06 UTC+5:30, Krishnan Mahadevan wrote:
First things first.
Your query doesn't have anything to do with WebDriver/Selenium. I would recommend that you please post your query [ 1 post per query is what I would recommend ] in the testng-users google forum.

My answers to your questions :

1. How to create testsuite xml in selenium
>>>>>>>>>>>>Refer here : <a href="http://www.tutorialspoint.com/testng/testng_suite_test.htm" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.tutorialspoint.com%2Ftestng%2Ftestng_suite_test.htm\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFIIKmHYBHKdS1tVkEUSapWCtrMuQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.tutorialspoint.com%2Ftestng%2Ftestng_suite_test.htm\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFIIKmHYBHKdS1tVkEUSapWCtrMuQ&#39;;return true;">http://www.tutorialspoint.com/testng/testng_suite_test.htm

2. how we can run a required suite from different test suites
>>>>>>>>>>>>I am not sure what you are asking for here.

<a href="http://3.is" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F3.is\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEU8SUBEF5ckVII-l1KZ4iSUfQPlQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F3.is\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEU8SUBEF5ckVII-l1KZ4iSUfQPlQ&#39;;return true;">3.is it required to configure all test suites in testng?
>>>>>>>>>>>>Not sure what you are asking for here.

4.how to configure that testNG xml file in POM XML?
>>>>>>>>>>>>Please refer here : <a href="https://maven.apache.org/surefire/maven-surefire-plugin/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fmaven.apache.org%2Fsurefire%2Fmaven-surefire-plugin%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFaRuMEsujji3MnQhlSHNZ7QDCtUA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fmaven.apache.org%2Fsurefire%2Fmaven-surefire-plugin%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFaRuMEsujji3MnQhlSHNZ7QDCtUA&#39;;return true;">https://maven.apache.org/surefire/maven-surefire-plugin/

5.how i can run a specific test suite from maven.
>>>>>>>>>>>>The answer to this question already is answered by me in this thread in an earlier response. Please go through this thread once again.



Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ <a href="http://wakened-cognition.blogspot.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;">http://wakened-cognition.blogspot.com/
My Technical Scribbings @ <a href="http://rationaleemotions.wordpress.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;">http://rationaleemotions.wordpress.com/

On Wed, Aug 5, 2015 at 11:41 PM, <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="xRsRGjOLIgEJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">urbu...@...> wrote:
H Krishnan,

I am new to selenium a,TestNG and maven, but the same requirement i need to implement in my project. please can you share samples how you achieved this.

1. How to create testsuite xml in selenium
2. how we can run a required suite from different test suites
<a href="http://3.is" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F3.is\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEU8SUBEF5ckVII-l1KZ4iSUfQPlQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F3.is\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEU8SUBEF5ckVII-l1KZ4iSUfQPlQ&#39;;return true;">3.is it required to configure all test suites in testng?
4.how to configure that testNG xml file in POM XML?
5.how i can run a specific test suite from maven.

please, dont mind, am very new to this tool.


On Friday, August 16, 2013 at 12:21:59 AM UTC+5:30, Nathan Beach wrote:
Krishnan -- you are a genius.  That suiteFile property idea worked perfectly for me.  

I'm surprised more people on earth don't seem to want to be able to run a specific suite xml file (I've searched all over for a way before I found this thread). 

If this were on stackoverflow, I'd upvote you.  Thanks!

NBB

--
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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="xRsRGjOLIgEJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">selenium-user...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="xRsRGjOLIgEJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">seleniu...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/selenium-users/e6ad5209-2726-4ccd-9d61-998748e941f0%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/e6ad5209-2726-4ccd-9d61-998748e941f0%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/e6ad5209-2726-4ccd-9d61-998748e941f0%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/selenium-users/e6ad5209-2726-4ccd-9d61-998748e941f0%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
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/761668cf-f16e-49d1-9a8e-857773cd45bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.