Debug ...........

This commit is contained in:
Dirk Jahnke 2019-07-27 21:19:40 +02:00
parent a5b468015e
commit 985449300f
1 changed files with 5 additions and 5 deletions

View File

@ -33,7 +33,7 @@ public class BasicTest {
@Test @Test
public void verifyFredlPageTitle() { public void verifyFredlPageTitle() {
System.out.printn("----------------------------- verifyFredlPageTitle ----------------------------------"); System.out.println("----------------------------- verifyFredlPageTitle ----------------------------------");
driver.navigate().to(URL); driver.navigate().to(URL);
String getTitle = driver.getTitle(); String getTitle = driver.getTitle();
System.out.println("Page title: " + getTitle); System.out.println("Page title: " + getTitle);
@ -42,7 +42,7 @@ public class BasicTest {
@Test @Test
public void verifyLoginAsSystemUser() { public void verifyLoginAsSystemUser() {
System.out.printn("----------------------------- verifyLoginAsSystemUser ----------------------------------"); System.out.println("----------------------------- verifyLoginAsSystemUser ----------------------------------");
driver.navigate().to(URL); driver.navigate().to(URL);
System.out.println("Navigate to: " + URL); System.out.println("Navigate to: " + URL);
@ -97,8 +97,8 @@ public class BasicTest {
@Test @Test
public void verifyExistenceOfMainMenuButtons() { public void verifyExistenceOfMainMenuButtons() {
System.out.printn("----------------------------- verifyExistenceOfMainMenuButtons ----------------------------------"); System.out.println("----------------------------- verifyExistenceOfMainMenuButtons ----------------------------------");
driver.navigate.refresh(); driver.navigate().refresh();
//driver.switchTo().defaultContent(); //driver.switchTo().defaultContent();
//driver.switchTo().frame(0); //driver.switchTo().frame(0);
System.out.println("Current URL=" + driver.getCurrentUrl()); System.out.println("Current URL=" + driver.getCurrentUrl());
@ -125,7 +125,7 @@ public class BasicTest {
@Test @Test
public void verifyLogout() { public void verifyLogout() {
System.out.printn("----------------------------- verifyLogout ----------------------------------"); System.out.println("----------------------------- verifyLogout ----------------------------------");
//driver.switchTo().defaultContent(); //driver.switchTo().defaultContent();
//driver.switchTo().frame(0); //driver.switchTo().frame(0);
wait.until(ExpectedConditions.frameToBeAvailableAndSwitchToIt("oben")); wait.until(ExpectedConditions.frameToBeAvailableAndSwitchToIt("oben"));