Debug ..........
This commit is contained in:
parent
8d6c5ba824
commit
a5b468015e
|
@ -33,6 +33,7 @@ public class BasicTest {
|
|||
|
||||
@Test
|
||||
public void verifyFredlPageTitle() {
|
||||
System.out.printn("----------------------------- verifyFredlPageTitle ----------------------------------");
|
||||
driver.navigate().to(URL);
|
||||
String getTitle = driver.getTitle();
|
||||
System.out.println("Page title: " + getTitle);
|
||||
|
@ -41,6 +42,7 @@ public class BasicTest {
|
|||
|
||||
@Test
|
||||
public void verifyLoginAsSystemUser() {
|
||||
System.out.printn("----------------------------- verifyLoginAsSystemUser ----------------------------------");
|
||||
driver.navigate().to(URL);
|
||||
System.out.println("Navigate to: " + URL);
|
||||
|
||||
|
@ -95,8 +97,11 @@ public class BasicTest {
|
|||
|
||||
@Test
|
||||
public void verifyExistenceOfMainMenuButtons() {
|
||||
System.out.printn("----------------------------- verifyExistenceOfMainMenuButtons ----------------------------------");
|
||||
driver.navigate.refresh();
|
||||
//driver.switchTo().defaultContent();
|
||||
//driver.switchTo().frame(0);
|
||||
System.out.println("Current URL=" + driver.getCurrentUrl());
|
||||
FredlTestHelper.printPageSource();
|
||||
wait.until(ExpectedConditions.frameToBeAvailableAndSwitchToIt("oben"));
|
||||
//Assert.assertEquals(FredlTestHelper.elementExistsByXpath("//frame[@name='oben']"), true);
|
||||
|
@ -120,6 +125,7 @@ public class BasicTest {
|
|||
|
||||
@Test
|
||||
public void verifyLogout() {
|
||||
System.out.printn("----------------------------- verifyLogout ----------------------------------");
|
||||
//driver.switchTo().defaultContent();
|
||||
//driver.switchTo().frame(0);
|
||||
wait.until(ExpectedConditions.frameToBeAvailableAndSwitchToIt("oben"));
|
||||
|
|
Loading…
Reference in New Issue