Debug .......
This commit is contained in:
parent
f99a6cdef0
commit
27d564a963
|
@ -94,7 +94,8 @@ public class BasicTest {
|
|||
|
||||
@Test
|
||||
public void verifyExistenceOfMainMenuButtons() {
|
||||
driver.switchTo().defaultContent();
|
||||
//driver.switchTo().defaultContent();
|
||||
driver.switchTo().frame(0);
|
||||
FredlTestHelper.printPageSource();
|
||||
Assert.assertEquals(FredlTestHelper.elementExistsByXpath("//frame[@name='oben']"), true);
|
||||
driver.switchTo().frame(driver.findElement(By.xpath("//frame[@name='oben']")));
|
||||
|
@ -116,7 +117,8 @@ public class BasicTest {
|
|||
|
||||
@Test
|
||||
public void verifyLogout() {
|
||||
driver.switchTo().defaultContent();
|
||||
//driver.switchTo().defaultContent();
|
||||
driver.switchTo().frame(0);
|
||||
Assert.assertEquals(FredlTestHelper.elementExistsByXpath("//frame[@name='oben']"), true);
|
||||
driver.switchTo().frame(driver.findElement(By.xpath("//frame[@name='oben']")));
|
||||
driver.findElement(By.id("logout-menu-button")).click();
|
||||
|
|
Loading…
Reference in New Issue