@Test @Title("Create new building to verify R,E,C permissions") public void test003CreateNewBuilding() throws Exception { OpenView.NavigateTO(Grundschutz, InventoryAnalysis); // Create TO TargetObject.CreateNew("Building", TOname, null); // Assert $(By.xpath(".//*[@id='footerForm:message']/dt/span")) .waitUntil(visible, 10000) .shouldHave(text("Successfully saved")) .shouldHave(text(TOname)); $(By.partialLinkText(TOname)).waitUntil(present, 8000).shouldBe(visible, enabled); }