Take an example of four different tests under one testng class and print the test sequence on the console. 1) Press Ctrl+N , select “TestNG Class” under TestNG category and click Next. Right click on Test Case folder, go to TestNG and select “TestNG Class“