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

How to assert text of webpage using selenium 2.0?

877


What kinds of tests can be run with the selenium framework?

932


How can you insert a start point in selenium ide?

1024


Mention why do you need session handling while working with selenium?

996


How to type in a textbox using selenium?

1047


When do we use findelement() and findelements()?

964


How to fetch the current page url in selenium?

1129


How can we launch different browsers in selenium webdriver?

981


Explain what is the main difference between web-driver and rc?

963


What are the advantages of selenium as a test tool?

917


What is the super interface of webdriver?

1076


What is the difference between "assert" and "verify" commands?

1035


How can we fetch the page source in selenium?

958


How you can use “submit” a form using selenium?

982


Does selenium support mobile internet testing?

960