How to create batch(.bat) file after creating suite from TestNG?Can anyone explain entire process?
Answer Posted / ajmal
OPen Note pad and enter below code
java -cp bin;* testng TestNG nameOfYourXmlFile
save it as all files then change file type to (.bat)
thats it.. u can run it using CMD of jenkins tool..
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a hybrid framework?
How colors could be handled in selenium webdriver?
Mention in what ways you can customize testng report?
What is the difference between poi and jxl jar?
What is an absolute xpath?
What is the object repository?
What is the difference between "assert" and "verify" commands?
When should I use Selenium IDE?
What is the function of xpath?
How can we launch different browsers in selenium webdriver?
How is driver.close()command different from driver.quit command?
What is Selenium IDE?
How do you launch ie/chrome browser?
How can we select elements by their attribute value using css selector?
How do you upload a file?