JeevakCC
7 years agoOccasional Contributor
TestNG and TestComplete Integration
I have integrated testNG into TC using POM.XML file but have to pass parameters dynamically from TC Routine to testNG test functions.
TestNG function signature added below -
@Parameters({"PROC_ID","PATIENT_NAME"})
test
public void test1(String PROC_ID , String PATIENT_NAME) {
System.out.println("Parameter 1 - " +PROC_ID );
System.out.println("Parameter 2 - " +PATIENT_NAME );
}