I am trying to run my TestNG suite with testng.xml. I have total four classes in my suite but I am only able to run two classes at a time with all methods. Suppose I have 3 methods in each class, so in TestNG suite if I add only two classes, testng.xml file will run my both tests with 6 methods. Now if I try to add 3rd class in my testng.xml file, it will run only first method from each class. it means now it is running only 3 methods( one from each class).I have created a source folder under my project and then created this testng.xml file inside this source folder. Would you please let me know what I am doing wrong. Below is my testng.xml file and test cases.
testng.xml is below:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="MurcuryTour AUtomation suite">
<test name="MurcuryTour">
<classes>
<class name="murcuryTourPagesTests.LoginPageTest"></class>
<class name="murcuryTourPagesTests.FlightsPageTest"></class>
<class name="murcuryTourPagesTests.HomePageTest"></class>
</classes>
</test>
</suite>
