Run multiple test classes using TestNG suite XML
Preconditions (3)
Step 1: Create a testng.xml file that includes both LoginTest and SearchTest classes
Step 2: Run the testng.xml suite file using TestNG
Step 3: Observe that both test classes run in the order defined in the XML
Step 4: Verify that all tests in both classes pass
✅ Expected Result: Both LoginTest and SearchTest classes run successfully when executing the testng.xml suite file, and all tests pass.