Groups¶meter
This commit is contained in:
@@ -1,13 +1,16 @@
|
|||||||
package zacksolutions;
|
package zacksolutions;
|
||||||
|
|
||||||
import org.testng.annotations.BeforeTest;
|
import org.testng.annotations.BeforeTest;
|
||||||
|
import org.testng.annotations.Parameters;
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
public class TestHomePage {
|
public class TestHomePage {
|
||||||
|
|
||||||
|
@Parameters({ "URL" })
|
||||||
@Test(groups = { "Smoke" })
|
@Test(groups = { "Smoke" })
|
||||||
public static void testCaseSixteen() {
|
public static void testCaseSixteen(String urllink) {
|
||||||
System.out.println("Debug the sixteenth case");
|
System.out.println("Debug the sixteenth case");
|
||||||
|
System.out.println(urllink);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
|
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
|
||||||
<suite name="All Test Suite">
|
<suite name="All Test Suite">
|
||||||
|
<parameter name="URL" value="zacksolutions.dev"/>
|
||||||
<test name="RegressionTest">
|
<test name="RegressionTest">
|
||||||
<groups>
|
<groups>
|
||||||
<run>
|
<run>
|
||||||
|
|||||||
Reference in New Issue
Block a user