How to create and run testng.xml?



How to create and run testng.xml?..

Answer / Aditya Prakash

To create a TestNG XML file, you need to write the test method names inside <test> tags and include them within <suite> tags. Save it with .xml extension. To run this file, use the TestNG command-line tool by specifying the path to your XML file.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Selenium Interview Questions

What can cause a selenium ide test to fail?

1 Answers  


What are driver.close and driver.quit in WebDriver? Which is more preferable?

1 Answers  


How to send alt/shift/control key in selenium webdriver?

1 Answers  


How to debug the tests in selenium ide?

1 Answers  


What is the difference between implicit wait and explicit wait?

1 Answers  


How to read a javascript variable in selenium webdriver?

1 Answers  


What is the super interface of webdriver?

1 Answers  


How many test cases you have automated per day?

1 Answers  


Mention what is intellij?

1 Answers  


Which attribute you should consider throughout the script in frame for “if no frame id as well as no frame name”?

1 Answers  


Write the code to double click an element in selenium?

1 Answers  


Mention what is the use of x-path?

1 Answers  


Categories