List of usage examples for org.openqa.selenium WebElement click
void click();
From source file:com.ecofactor.qa.automation.insite.page.PartnerManagementImpl.java
License:Open Source License
/** * Click cancel.//www .j a v a 2s.co m * @see com.ecofactor.qa.automation.insite.page.PartnerManagement#clickCancel() */ @Override public void clickCancel() { LogUtil.setLogString("Click Cancel in partner page ", true); WaitUtil.smallWait(); final WebElement cancelLink = retrieveElementByTagText(DriverConfig.getDriver(), TAG_ANCHOR, partnerConfig.get(CANCEL)); cancelLink.click(); }
From source file:com.ecofactor.qa.automation.insite.page.PartnerManagementImpl.java
License:Open Source License
/** * Click Reset.//from w w w . j a v a 2 s . com * @see com.ecofactor.qa.automation.insite.page.PartnerManagement#clickReset() */ @Override public void clickReset() { LogUtil.setLogString("Click Reset in partner page ", true); WaitUtil.smallWait(); final WebElement resetLink = retrieveElementByTagText(DriverConfig.getDriver(), TAG_ANCHOR, partnerConfig.get(RESET)); resetLink.click(); }
From source file:com.ecofactor.qa.automation.insite.page.PartnerManagementImpl.java
License:Open Source License
/** * Click save link./*from ww w . j a v a 2s . c o m*/ * @see com.ecofactor.qa.automation.insite.page.PartnerManagement#clickSave() */ @Override public void clickSave() { LogUtil.setLogString("Click save link.", true); WebElement saveLink = retrieveElementByTagText(DriverConfig.getDriver(), TAG_ANCHOR, "Save"); saveLink.click(); }
From source file:com.ecofactor.qa.automation.insite.page.PartnerManagementImpl.java
License:Open Source License
/** * Click Primary Account tab.//from www. j a va 2 s .co m * @see com.ecofactor.qa.automation.insite.page.PartnerManagement#clickAccountTab() */ @Override public void clickAccountTab() { LogUtil.setLogString("Click Primary Account Tab ", true); LogUtil.setLogString("Click on Account Panel and enter account details to the required fields.", true); LogUtil.setLogString("check accout details tab is displayed.", true); isDisplayedById(DriverConfig.getDriver(), MENU_ACCOUNT_TAB, SHORT_TIMEOUT); WaitUtil.smallWait(); final WebElement contactTab = DriverConfig.getDriver().findElement(By.id(MENU_ACCOUNT_TAB)); contactTab.click(); }
From source file:com.ecofactor.qa.automation.insite.page.PartnerManagementImpl.java
License:Open Source License
/** * Click Contact Information Tab./*from www . j av a2 s .c o m*/ * @see com.ecofactor.qa.automation.insite.page.PartnerManagement#clickContactInformation() */ @Override public void clickContactInformation() { LogUtil.setLogString("Click Contact Information Tab ", true); LogUtil.setLogString( "Click on Account Panel and enter Contact information details to the Contact Information Tab.", true); WaitUtil.smallWait(); final WebElement contactTab = DriverConfig.getDriver().findElement(By.id(MENU_CONTACT_TAB)); contactTab.click(); }
From source file:com.ecofactor.qa.automation.insite.page.PartnerManagementImpl.java
License:Open Source License
/** * Click partner Type Tab.// w w w .j a v a2s.c om * @see com.ecofactor.qa.automation.insite.page.PartnerManagement#clickPartnerTypes() */ @Override public void clickPartnerTypes() { LogUtil.setLogString("Click Partner types Tab ", true); LogUtil.setLogString( "Click on Role tab and Send the Role details to the selection, and add it to the pane.", true); isDisplayedById(DriverConfig.getDriver(), MENU_ROLE_TAB, SHORT_TIMEOUT); WaitUtil.smallWait(); final WebElement roleTab = DriverConfig.getDriver().findElement(By.id(MENU_ROLE_TAB)); roleTab.click(); }
From source file:com.ecofactor.qa.automation.insite.page.PartnerManagementImpl.java
License:Open Source License
/** * Click Find./*from w w w . ja v a 2 s. com*/ * @see com.ecofactor.qa.automation.insite.page.PartnerManagement#clickFind() */ @Override public void clickFind() { LogUtil.setLogString("Click Find.", true); final WebElement buttonElement = retrieveElementByContainsOfAttributeValue(DriverConfig.getDriver(), TAG_INPUT, ATTR_VALUE, "Find", MEDIUM_TIMEOUT); buttonElement.click(); }
From source file:com.ecofactor.qa.automation.insite.page.PartnerManagementImpl.java
License:Open Source License
/** * Click Next./*from ww w . jav a 2 s . co m*/ * @see com.ecofactor.qa.automation.insite.page.PartnerManagement#clickNext() */ @Override public void clickNext() { LogUtil.setLogString("click Next", true); WaitUtil.smallWait(); final WebElement nextLink = DriverConfig.getDriver().findElement(By.cssSelector("a.next.ef_smallLabel")); nextLink.click(); }
From source file:com.ecofactor.qa.automation.insite.page.PartnerManagementImpl.java
License:Open Source License
/** * Click previous./*from w w w.j a v a 2 s. c om*/ * @see com.ecofactor.qa.automation.insite.page.PartnerManagement#clickPrevious() */ @Override public void clickPrevious() { LogUtil.setLogString("click Previous", true); WaitUtil.smallWait(); final WebElement previousLink = DriverConfig.getDriver() .findElement(By.cssSelector("a.prev.ef_smallLabel")); previousLink.click(); }
From source file:com.ecofactor.qa.automation.insite.page.PartnerManagementImpl.java
License:Open Source License
/** * Click First.//from ww w. j ava2 s .c om * @see com.ecofactor.qa.automation.insite.page.PartnerManagement#clickFirst() */ @Override public void clickFirst() { LogUtil.setLogString("click First", true); WaitUtil.smallWait(); final WebElement firstLink = DriverConfig.getDriver().findElement(By.cssSelector("a.first.ef_smallLabel")); firstLink.click(); }