diff --git a/src/test/java/org/fremo/fredl/test/BasicTest.java b/src/test/java/org/fremo/fredl/test/BasicTest.java index 50c2482..884f3b0 100644 --- a/src/test/java/org/fremo/fredl/test/BasicTest.java +++ b/src/test/java/org/fremo/fredl/test/BasicTest.java @@ -95,7 +95,8 @@ public class BasicTest { @Test public void verifyExistenceOfMainMenuButtons() { driver.switchTo().defaultContent(); - driver.switchTo().frame("oben"); + String frameObenName = "oben"; + driver.switchTo().frame(frameObenName); // Verify existence of menu buttons Assert.assertEquals(FredlTestHelper.elementExistsById("admin-menu-button"), true); Assert.assertEquals(FredlTestHelper.elementExistsById("loco-menu-button"), true);