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 programming language is best for writing selenium tests?
We do create a reference variable ‘driver’ of type webdriver
How to run a group of test cases using testng?
What is the purpose of the getoptions() method?
Explain the meaning of assertion in selenium and what are the types of assertion?
What test can selenium perform?
Why and how will you use an excel sheet in your project?
Tell us how many exceptions do you know in selenium webdriver?
How many types of locators are there in selenium?
How to enforce the title of the website?
What are the different types of locators in Selenium?
What must one set within side in order to run a test from the beginning to a certain point within the test?
While injecting capabilities in webdriver to perform tests on a browser which is not supported by a webdriver what is the limitation that one can come across?
I am not able to use "style" attribute to locate element with ie browser?
What is actions class in webdriver