Can some one explain me how multiple testng classes testing application in single browser?

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.

1 Answer

answered by
selected by
0 votes
Best answer
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">
        <class name="com.kagrana.testng.examples.suite.TestConfig" />
        <class name="com.kagrana.testng.examples.suite.TestOrder">
                <include name="testMakeOrder" />
                <include name="testUpdateOrder" />
                    <exclude name="testMakeOrder" />

Hope it helps