1
0
forked from Zakaria/testNG

testActions

This commit is contained in:
dadgam3er 2024-10-17 09:42:46 -04:00
parent a0748547de
commit de0e64046c
2 changed files with 3 additions and 2 deletions

View File

@ -10,6 +10,7 @@ import org.testng.annotations.BeforeTest;
import com.aventstack.extentreports.reporter.ExtentSparkReporter;
import org.testng.annotations.Test;
public class ExtendReports {
ExtentReports extent;
WebDriver driver;
@ -30,7 +31,7 @@ public class ExtendReports {
}
@Test
public void getTitle(){
public void getTitle() {
ExtentTest test = extent.createTest("TestTitle");
String title = driver.getTitle();
System.out.println(title);

View File

@ -21,7 +21,7 @@ public class NGClassTest {
@Test
public static void testCaseFour() {
System.out.println("Debug the fourth case");
System.out.println("Debuging the fourth case");
}
@Test