Simple Test Query | QTP/UFT Forum

Simple Test Query

A
Abhishek Puri Post on 21/01/2020

Simple Test Query

A
Abhishek Puri Reply on 21/01/2020

Inline Image

A
Abhishek Puri Reply on 21/01/2020

package example1;
 
import org.testng.annotations.*;
 
public class SimpleTest {
 
 @BeforeClass
 public void setUp() {
   // code that will be invoked when this test is instantiated
 }
 
 @Test(groups = { "fast" })
 public void aFastTest() {
   System.out.println("Fast test");
 }
 
 @Test(groups = { "slow" })
 public void aSlowTest() {
    System.out.println("Slow test");
 }
 
}