Till
now we have implemented the SignIn & Registration work flow & able to
run the test suites individually. But practically we need to run all the test
suites from a single file. To run multiple test suites, we can add the
testns.xml file & will pass all the test suites inside the testng.xml file.
- Download the testng.xml file from here.
- Copy the testng.xml file inside src/test/resources.
- Right click on testng.xml file > Run As > TestNG Suite & verify the result. It should run the SignIn Test 1st after completion it will open another browser & will execute the RegistrationTest as well.