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 capture bitmaps in selenium?

1154


What is Selenium IDE?

1085


What are the limitations of selenium?

950


Tell us can you write the code to double click an element in selenium?

914


When should I use selenium grid?

1059


What is actions class in webdriver

988


What are the different types of wait statements in selenium webdriver? Or how do you achieve synchronization in webdriver?

975


How to read a javascript variable in selenium webdriver?

1015


Tell us how you can use recovery scenario with selenium?

978


Explain how you will login into any site if it is showing any authentication popup for username and password?

1307


How do you get the current page url?

1000


What are the advantages of using selenium as a test tool?

1069


How could ajax controls be handled in webdriver?

1049


Is the firefoxdriver a class or an interface?

1110


List some scenarios which we cannot automate using selenium webdriver?

1051