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


Please Help Members By Posting Answers For Below Questions

What is a hybrid framework?

555


How colors could be handled in selenium webdriver?

460


Mention in what ways you can customize testng report?

745


What is the difference between poi and jxl jar?

519


What is an absolute xpath?

569






What is the object repository?

558


What is the difference between "assert" and "verify" commands?

486


When should I use Selenium IDE?

540


What is the function of xpath?

505


How can we launch different browsers in selenium webdriver?

464


How is driver.close()command different from driver.quit command?

493


What is Selenium IDE?

549


How do you launch ie/chrome browser?

498


How can we select elements by their attribute value using css selector?

628


How do you upload a file?

541