From a5b468015e33a880381ac533c2eb30fe991ba8f5 Mon Sep 17 00:00:00 2001 From: Dirk Jahnke Date: Sat, 27 Jul 2019 21:17:10 +0200 Subject: [PATCH] Debug .......... --- src/test/java/org/fremo/fredl/test/BasicTest.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/test/java/org/fremo/fredl/test/BasicTest.java b/src/test/java/org/fremo/fredl/test/BasicTest.java index b742414..f840b0b 100644 --- a/src/test/java/org/fremo/fredl/test/BasicTest.java +++ b/src/test/java/org/fremo/fredl/test/BasicTest.java @@ -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"));