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
How to capture bitmaps in selenium?
What is Selenium IDE?
What are the limitations of selenium?
Tell us can you write the code to double click an element in selenium?
When should I use selenium grid?
What is actions class in webdriver
What are the different types of wait statements in selenium webdriver? Or how do you achieve synchronization in webdriver?
How to read a javascript variable in selenium webdriver?
Tell us how you can use recovery scenario with selenium?
Explain how you will login into any site if it is showing any authentication popup for username and password?
How do you get the current page url?
What are the advantages of using selenium as a test tool?
How could ajax controls be handled in webdriver?
Is the firefoxdriver a class or an interface?
List some scenarios which we cannot automate using selenium webdriver?