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

Explain what is the difference between find elements () and find element ()?

920


What are the different types of web controller APIs supported in Selenium?

1056


What is selenium webdriver or google webdriver or selenium 2.0?

830


How much does selenium license cost per client machine?

886


How can you redirect browsing from a browser through some proxy?

1626


What is the command to insert text into the HTML text box using Selenium?

946


What are the open-source frameworks supported by selenium webdriver?

1016


How is testng better than junit?

915


How to handle alerts in selenium webdriver?

976


What do you mean by xpath?

911


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

977


How to do file upload in selenium?

985


What is implicit wait in selenium webdriver?

1063


How do perform drag and drop using webdriver?

1019


What is XPath? How does it work?

1101