From d3b4d34d72b6d4bc4049027a253f586410442bca Mon Sep 17 00:00:00 2001 From: dadgam3er Date: Sun, 22 Sep 2024 20:37:52 -0400 Subject: [PATCH] Groups¶meter --- src/test/java/zacksolutions/TestHomePage.java | 5 ++++- testngGroups.xml | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) 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 @@ +