testActions
This commit is contained in:
parent
a0748547de
commit
de0e64046c
@ -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);
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user