Join 500+ Software Testing professionals. Solve problem and get your problem solved. Register Now!

0
multiple testng classes testing application in single browser

Solved 1 Answers 26 Views
0 1
Can some one explain me how multiple testng classes testing application in single browser?

1 Answer

0
Best answer
0
You may create suite xml file and execute your testes using suite xml.

<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >

<suite name="TestAll">

  <test name="order">
    <classes>
        <class name="com.kagrana.testng.examples.suite.TestConfig" />
        <class name="com.kagrana.testng.examples.suite.TestOrder">
            <methods>
                <include name="testMakeOrder" />
                <include name="testUpdateOrder" />
                <!--
                    <exclude name="testMakeOrder" />
                 -->
            </methods>
        </class>
    </classes>
  </test>
 
</suite>

Hope it helps
answered by
selected by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
...