is it mandatory to have name "testng.xml" or any name can be given for xml file ?

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

is it mandatory to have name "testng.xml" or any name can be given for xml file ?

80Vikram
Hi All,

I tried searching for the answer but couldn't found it. I'm coming from JUnit world so this basic query

Do I need to give name to xml file as "testng.xml" or "any_random_name.xml" is also fine ?

http://testng.org/doc/documentation-main.html#testng-xml, doesn't have the answer either.

Thanks & Regards,
Vikram

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: is it mandatory to have name "testng.xml" or any name can be given for xml file ?

Krishnan Mahadevan

Any random name is fine. TestNG doesn’t mandate the file name in any way.

 

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/

 

From: <[hidden email]> on behalf of 80Vikram <[hidden email]>
Reply-To: <[hidden email]>
Date: Tuesday, August 8, 2017 at 8:35 PM
To: testng-users <[hidden email]>
Subject: [testng-users] is it mandatory to have name "testng.xml" or any name can be given for xml file ?

 

Hi All,

I tried searching for the answer but couldn't found it. I'm coming from JUnit world so this basic query

Do I need to give name to xml file as "testng.xml" or "any_random_name.xml" is also fine ?

http://testng.org/doc/documentation-main.html#testng-xml, doesn't have the answer either.

Thanks & Regards,
Vikram

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: is it mandatory to have name "testng.xml" or any name can be given for xml file ?

80Vikram
Thanks for quick clarification.

Regards,
Vikram

On Tuesday, August 8, 2017 at 5:06:40 PM UTC+2, Krishnan wrote:

Any random name is fine. TestNG doesn’t mandate the file name in any way.

 

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/

 

From: <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="bI_3MLGmBAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">testng...@...> on behalf of 80Vikram <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="bI_3MLGmBAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">vikra...@...>
Reply-To: <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="bI_3MLGmBAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">testng...@...>
Date: Tuesday, August 8, 2017 at 8:35 PM
To: testng-users <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="bI_3MLGmBAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">testng...@...>
Subject: [testng-users] is it mandatory to have name "testng.xml" or any name can be given for xml file ?

 

Hi All,

I tried searching for the answer but couldn't found it. I'm coming from JUnit world so this basic query

Do I need to give name to xml file as "testng.xml" or "any_random_name.xml" is also fine ?

<a href="http://testng.org/doc/documentation-main.html#testng-xml" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Ftestng.org%2Fdoc%2Fdocumentation-main.html%23testng-xml\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF5hMVO0mbAhNPscyH8Dna2CGBh-w&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Ftestng.org%2Fdoc%2Fdocumentation-main.html%23testng-xml\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF5hMVO0mbAhNPscyH8Dna2CGBh-w&#39;;return true;">http://testng.org/doc/documentation-main.html#testng-xml, doesn't have the answer either.

Thanks & Regards,
Vikram

--
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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="bI_3MLGmBAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">testng-users...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="bI_3MLGmBAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">testng...@....
Visit this group at <a href="https://groups.google.com/group/testng-users" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/group/testng-users&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/group/testng-users&#39;;return true;">https://groups.google.com/group/testng-users.
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 "testng-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].
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.
Loading...