Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

When to use autoit?

992


Are you familiar with selenium? If yes, what is it?

1209


How to press enter key on text box in selenium webdriver?

940


How do you click on a menu item in a drop down menu?

861


How do you upload a file using selenium webdriver?

3458


What is the testng.xml file used for?

944


sorting java array

1601


How do you set user extensions in selenium ide?

929


What are the advantages of automation framework?

853


How to get an attribute value using selenium webdriver?

975


How can we deal with web-based pop-up?

884


What is an absolute xpath?

1007


What are some of the advantages of selenium grid?

853


what is assertion in selenium and what are the types of assertion?

967


How do you read data from excel?

922