Debugging login
This commit is contained in:
parent
f4611efed5
commit
b087ad5872
|
@ -56,6 +56,8 @@ public class BasicTest {
|
|||
|
||||
@Test
|
||||
public void verifyLoginAsSystemUser() {
|
||||
String body; // used for debugging purposes only
|
||||
|
||||
driver.navigate().to(URL);
|
||||
System.out.println("Navigate to: " + URL);
|
||||
|
||||
|
@ -79,14 +81,14 @@ public class BasicTest {
|
|||
String expectedTitle = "FreDL";
|
||||
wait.until(ExpectedConditions.titleIs(expectedTitle));
|
||||
|
||||
String body = driver.getPageSource();
|
||||
body = driver.getPageSource();
|
||||
System.out.println("HTML: " + body);
|
||||
|
||||
//driver.switchTo().frame("oben");
|
||||
String frameObenName = "oben";
|
||||
wait.until(ExpectedConditions.frameToBeAvailableAndSwitchToIt(frameObenName));
|
||||
|
||||
String body = driver.getPageSource();
|
||||
body = driver.getPageSource();
|
||||
System.out.println("HTML: " + body);
|
||||
|
||||
String versionInfo = driver.findElement(By.xpath("//table/tr/td/b")).getText();
|
||||
|
|
Loading…
Reference in New Issue