List of usage examples for org.openqa.selenium WebElement isEnabled
boolean isEnabled();
From source file:org.olat.selenium.page.course.PublisherPageFragment.java
License:Apache License
public PublisherPageFragment next() { WebElement next = browser.findElement(nextBy); Assert.assertTrue(next.isDisplayed()); Assert.assertTrue(next.isEnabled()); next.click();/*from w ww . j a v a 2 s.c om*/ OOGraphene.waitBusy(browser); OOGraphene.closeBlueMessageWindow(browser); return this; }
From source file:org.olat.selenium.page.course.PublisherPageFragment.java
License:Apache License
public PublisherPageFragment finish() { WebElement finish = browser.findElement(finishBy); Assert.assertTrue(finish.isDisplayed()); Assert.assertTrue(finish.isEnabled()); finish.click();// w ww . j a v a 2s .c o m OOGraphene.waitBusy(browser); OOGraphene.closeBlueMessageWindow(browser); return this; }
From source file:org.olat.selenium.page.group.MembersWizardPage.java
License:Apache License
public MembersWizardPage next() { WebElement next = browser.findElement(nextBy); Assert.assertTrue(next.isDisplayed()); Assert.assertTrue(next.isEnabled()); next.click();/* w w w. j av a 2 s.c o m*/ OOGraphene.waitBusy(browser); OOGraphene.closeBlueMessageWindow(browser); return this; }
From source file:org.olat.selenium.page.group.MembersWizardPage.java
License:Apache License
public MembersWizardPage finish() { WebElement finish = browser.findElement(finishBy); Assert.assertTrue(finish.isDisplayed()); Assert.assertTrue(finish.isEnabled()); finish.click();/*from w w w. j ava 2 s . c om*/ OOGraphene.waitBusy(browser); OOGraphene.closeBlueMessageWindow(browser); return this; }
From source file:org.olat.selenium.page.portfolio.ArtefactWizardPage.java
License:Apache License
/** * Next/* w w w . jav a 2s . c om*/ * @return this */ public ArtefactWizardPage next() { WebElement next = browser.findElement(nextBy); Assert.assertTrue(next.isDisplayed()); Assert.assertTrue(next.isEnabled()); next.click(); OOGraphene.waitBusy(browser); OOGraphene.closeBlueMessageWindow(browser); return this; }
From source file:org.olat.selenium.page.portfolio.ArtefactWizardPage.java
License:Apache License
/** * Finish the wizard//from www . j a v a 2 s .com * @return this */ public ArtefactWizardPage finish() { WebElement finish = browser.findElement(finishBy); Assert.assertTrue(finish.isDisplayed()); Assert.assertTrue(finish.isEnabled()); finish.click(); OOGraphene.waitBusy(browser); OOGraphene.closeBlueMessageWindow(browser); return this; }
From source file:org.olat.selenium.page.user.ImportUserPage.java
License:Apache License
/** * Next//www .ja va2s .c o m * @return this */ public ImportUserPage next() { WebElement next = browser.findElement(nextBy); Assert.assertTrue(next.isDisplayed()); Assert.assertTrue(next.isEnabled()); next.click(); OOGraphene.waitBusy(browser); return this; }
From source file:org.olat.selenium.page.user.ImportUserPage.java
License:Apache License
/** * Finish the wizard//from w w w. jav a 2 s . c o m * @return this */ public ImportUserPage finish() { WebElement finish = browser.findElement(finishBy); Assert.assertTrue(finish.isDisplayed()); Assert.assertTrue(finish.isEnabled()); finish.click(); OOGraphene.waitBusy(browser); OOGraphene.closeBlueMessageWindow(browser); return this; }
From source file:org.openecomp.sdc.ci.tests.execute.adminworkspace.AdminUserManagment.java
License:Open Source License
@Test public void insertSpacialcharsTest() throws Exception { AdminWorkspaceUIUtilies.defineNewUserId("!@DER%"); AdminWorkspaceUIUtilies.selectUserRole("designer"); WebElement createbutton = GeneralUIUtils.getWebElementWaitForVisible("creategreen"); Assert.assertFalse(createbutton.isEnabled()); }
From source file:org.openecomp.sdc.ci.tests.execute.adminworkspace.AdminUserManagment.java
License:Open Source License
@Test public void insertInvalidUserMacidTest() throws Exception { AdminWorkspaceUIUtilies.defineNewUserId("k12345"); AdminWorkspaceUIUtilies.selectUserRole("designer"); WebElement createbutton = GeneralUIUtils.getWebElementWaitForVisible("creategreen"); Assert.assertFalse(createbutton.isEnabled()); }