When I try to right click and say "Run As" either print 1 or print 2 method from the below code, it doesn't show me the option "TestNGTest" like it appeared for you in the session. It only shows me "Run Configurations..".. what do I need to do?? Pleas check the attached screenshot
package com.Selenium;
import org.testng.annotations.Test;
public class TestNGTest {
@Test
public void print1() {
System.out.println("In Print 1");
}
@Test
public void print2() {
System.out.println("In Print 2");
}
}