adspace


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

Have you created any framework?

1038


what will be the first salary and what will be the hike in the salary?

929


How can you fetch an attribute from an element? How to retrieve typed text from a textbox?

1197


What’s selenese?

920


Do you know how to locate a link using its text in selenium?

985