Monday, February 13, 2017

TestNG - Creating new TestNG New Test File

TestNG  - Test Case Writing 

Setting up the new TestNG project 

Step 1 - File ⇨ New ⇨ JavaProject 


 Step 2 - Select the "Java Project" ⇨ Next



Step 3 - Give the Project Name ⇨ Select "Use defult JPE"⇨Select the "Create Separate folders for sources and class files" ⇨ Click on "Finish"⇨ Then It will create the Java project 



Step 4  - Import the TestNG Libraries onto our project 
              Right click on Project ⇨ Build Path ⇨ Configure Buid Path ... 


              Go to the "Libraries" tab ⇒ Click on  "Add Libraries" ⇨ Select TestNG ⇨ Next ⇨ Finish



   

No comments:

Post a Comment

MS VISUAL STUDIO CODEDUI TEST FRAMEWORK AND TEST EXECUTION

MS VISUAL STUDIO CODEDUI TEST FRAMEWORK AND TEST EXECUTION  1.0 Pre-Requisites for the execution 1.1 Software Requirements ...