Debug ......
This commit is contained in:
parent
83f5e9feba
commit
f99a6cdef0
|
@ -96,6 +96,7 @@ public class BasicTest {
|
||||||
public void verifyExistenceOfMainMenuButtons() {
|
public void verifyExistenceOfMainMenuButtons() {
|
||||||
driver.switchTo().defaultContent();
|
driver.switchTo().defaultContent();
|
||||||
FredlTestHelper.printPageSource();
|
FredlTestHelper.printPageSource();
|
||||||
|
Assert.assertEquals(FredlTestHelper.elementExistsByXpath("//frame[@name='oben']"), true);
|
||||||
driver.switchTo().frame(driver.findElement(By.xpath("//frame[@name='oben']")));
|
driver.switchTo().frame(driver.findElement(By.xpath("//frame[@name='oben']")));
|
||||||
// Verify existence of menu buttons
|
// Verify existence of menu buttons
|
||||||
Assert.assertEquals(FredlTestHelper.elementExistsById("admin-menu-button"), true);
|
Assert.assertEquals(FredlTestHelper.elementExistsById("admin-menu-button"), true);
|
||||||
|
|
Loading…
Reference in New Issue