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
When to use autoit?
Are you familiar with selenium? If yes, what is it?
How to press enter key on text box in selenium webdriver?
How do you click on a menu item in a drop down menu?
How do you upload a file using selenium webdriver?
What is the testng.xml file used for?
sorting java array
How do you set user extensions in selenium ide?
What are the advantages of automation framework?
How to get an attribute value using selenium webdriver?
How can we deal with web-based pop-up?
What is an absolute xpath?
What are some of the advantages of selenium grid?
what is assertion in selenium and what are the types of assertion?
How do you read data from excel?