forked from Zakaria/ZenProject
fix: 21 finally fix with getter methods
This commit is contained in:
@@ -7,6 +7,8 @@ import org.testng.annotations.Test;
|
||||
import zacksolutions.base.Initialization;
|
||||
import zacksolutions.pages.HomePage;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
public class HomePageTest extends Initialization {
|
||||
|
||||
HomePage homePage;
|
||||
@@ -22,7 +24,7 @@ public class HomePageTest extends Initialization {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void TextTest() throws InterruptedException {
|
||||
public void TextTest() throws InterruptedException, IOException {
|
||||
System.out.println(driver.getTitle());
|
||||
HomePage hp = new HomePage();
|
||||
hp.insertText();
|
||||
|
||||
Reference in New Issue
Block a user