forked from Zakaria/testNG
Groups¶meter
This commit is contained in:
parent
844f7ff6a3
commit
d3b4d34d72
@ -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
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
|
||||
<suite name="All Test Suite">
|
||||
<parameter name="URL" value="zacksolutions.dev"/>
|
||||
<test name="RegressionTest">
|
||||
<groups>
|
||||
<run>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user