Answers for "How to create Group of Groups in TestNG?"

0

How to create Group of Groups in TestNG?

● These groups are called metagroups.
● Example: you might want to define a group 
   all that includes smokeTest and FunctionalTest. 
Let’s modify our testing.xmlfile:
<groups>
<define name=”all”>
<include name =”smoke Test”/>
<include name = “functionalTest”/>
</define>
<run>
<include name = “all”/>
</run>
</groups>
Posted by: Guest on June-16-2021

Browse Popular Code Answers by Language