diff --git a/src/test/java/zacksolutions/TestHomePage.java b/src/test/java/zacksolutions/TestHomePage.java index 742343f..64af45a 100644 --- a/src/test/java/zacksolutions/TestHomePage.java +++ b/src/test/java/zacksolutions/TestHomePage.java @@ -1,13 +1,16 @@ package zacksolutions; import org.testng.annotations.BeforeTest; +import org.testng.annotations.Parameters; import org.testng.annotations.Test; public class TestHomePage { + @Parameters({ "URL" }) @Test(groups = { "Smoke" }) - public static void testCaseSixteen() { + public static void testCaseSixteen(String urllink) { System.out.println("Debug the sixteenth case"); + System.out.println(urllink); } @Test diff --git a/testngGroups.xml b/testngGroups.xml index 37cad3e..5ce4fa4 100644 --- a/testngGroups.xml +++ b/testngGroups.xml @@ -1,6 +1,7 @@ +