• TestNG with XML
    Quality,  Selenium,  Software Testing,  Webdriver

    TestNG with XML

    TestNG with XML Framework TestNG with XML has many advantages in Selenium, as we can do parallel testing and can execute multiple test scripts of multiple classes. By the use of XML with TestNG framework we can do multi browser testing, means we can launch multiple browsers simultaneously like Google Chrome, Mozilla Firefox, Internet Explorer, Safari etc and run same script. Suppose we make test scripts for 600 test cases, but we want to run the test scripts no. 3, 258, 423 and 586 only, then in this type of scenario we will use TestNG.xml file to execute these test scripts. We can run the scripts (test methods) in user…