Package com.crowdar.core.pageObjects
Class PageBaseWeb
- java.lang.Object
-
- com.crowdar.core.pageObjects.PageBase
-
- com.crowdar.core.pageObjects.CucumberPageBase
-
- com.crowdar.core.pageObjects.PageBaseWeb
-
@Deprecated public class PageBaseWeb extends CucumberPageBase
Deprecated.This class represents the things in common between Web projects
-
-
Field Summary
-
Fields inherited from class com.crowdar.core.pageObjects.CucumberPageBase
context
-
-
Constructor Summary
Constructors Constructor Description PageBaseWeb()Deprecated.PageBaseWeb(org.openqa.selenium.support.events.EventFiringWebDriver driver)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclick(java.lang.String locatorName)Deprecated.Click the element provided by the locator namevoidclick(java.lang.String locatorName, boolean scroll)Deprecated.protected voidclick(org.openqa.selenium.WebElement element)Deprecated.protected voidclick(org.openqa.selenium.WebElement element, boolean scroll)Deprecated.voidclickElement(org.openqa.selenium.By locator)Deprecated.voidclickElement(org.openqa.selenium.WebElement element)Deprecated.voidclickElementWithoutScroll(org.openqa.selenium.By locator)Deprecated.voidclickElementWithoutScroll(org.openqa.selenium.WebElement element)Deprecated.voiddeselectAllOptionsDropdown(org.openqa.selenium.By locator)Deprecated.voiddeselectDropdownAll(java.lang.String locatorName)Deprecated.protected voiddeselectDropdownAll(org.openqa.selenium.WebElement element)Deprecated.voiddeselectDropdownByIndex(java.lang.String locatorName, int index)Deprecated.protected voiddeselectDropdownByIndex(org.openqa.selenium.WebElement element, int index)Deprecated.voiddeselectDropdownByText(java.lang.String locatorName, java.lang.String value)Deprecated.protected voiddeselectDropdownByText(org.openqa.selenium.WebElement element, java.lang.String text)Deprecated.voiddeselectDropdownByValue(java.lang.String locatorName, java.lang.String value)Deprecated.protected voiddeselectDropdownByValue(org.openqa.selenium.WebElement element, java.lang.String value)Deprecated.voiddeselectOptionDropdownByText(org.openqa.selenium.By locator, java.lang.String text)Deprecated.voiddeselectOptionDropdownByValue(org.openqa.selenium.By locator, java.lang.String value)Deprecated.voiddragAndDrop(java.lang.String locatorToDrag, java.lang.String locatorToReplace)Deprecated.protected voiddragAndDrop(org.openqa.selenium.WebElement elementToDrag, org.openqa.selenium.WebElement elementToReplace)Deprecated.Method that drag and drop some element over other elementjava.lang.StringgetCompleteURL()Deprecated.Method that returns the complet url to the page BASE_URL + urljava.util.List<org.openqa.selenium.WebElement>getDropdownAllSelectedOptions(java.lang.String locatorName)Deprecated.protected java.util.List<org.openqa.selenium.WebElement>getDropdownAllSelectedOptions(org.openqa.selenium.WebElement element)Deprecated.org.openqa.selenium.WebElementgetDropdownSelectedOption(java.lang.String locatorName)Deprecated.protected org.openqa.selenium.WebElementgetDropdownSelectedOption(org.openqa.selenium.WebElement element)Deprecated.protected booleanisElementPresentAndDisplayed(org.openqa.selenium.By by)Deprecated.Similar to does element exist, but also verifies that only one such element exists and that it is displayedvoidmaximizeWindow()Deprecated.voidnavigateTo(java.lang.String url)Deprecated.Method is used to navigated to certain pagevoidnavigateToCompleteURL()Deprecated.Method is used to navigated to page complete url BASE_URL + urlvoidselectOptionDropdownByText(org.openqa.selenium.By locator, java.lang.String text)Deprecated.voidselectOptionDropdownByValue(org.openqa.selenium.By locator, java.lang.String value)Deprecated.voidsetDropdownByIndex(java.lang.String locatorName, int index)Deprecated.protected voidsetDropdownByIndex(org.openqa.selenium.WebElement element, int index)Deprecated.voidsetDropdownByText(java.lang.String locatorName, java.lang.String text)Deprecated.protected voidsetDropdownByText(org.openqa.selenium.WebElement element, java.lang.String text)Deprecated.voidsetDropdownByValue(java.lang.String locatorName, java.lang.String text)Deprecated.protected voidsetDropdownByValue(org.openqa.selenium.WebElement element, java.lang.String value)Deprecated.voidsetDropdownByVisibleText(java.lang.String locatorName, java.lang.String text)Deprecated.protected voidsetDropdownByVisibleText(org.openqa.selenium.WebElement element, java.lang.String value)Deprecated.voidswitchToLastTab()Deprecated.switch to the last tabvoidwaitTabOpening()Deprecated.Wait to appear more than one tab-
Methods inherited from class com.crowdar.core.pageObjects.PageBase
completeField, completeField, completeFieldWithoutClear, completeFieldWithoutClear, completeFieldWithoutClick, completeFieldWithoutClick, deselectCheckbox, getAttribute, getDriver, getElement, getElements, getElementText, getElementText, getFluentWait, getInputValue, getInputValue, getLogger, getText, getWait, getWebElement, getWebElements, isElementEmpty, isElementEmpty, isElementEnabled, isElementPresent, isElementPresent, isElementVisible, isElementVisible, isEnabled, isInputElementEmpty, isInputElementEmpty, isPresent, isSelected, isVisible, selectCheckbox, setCheckbox, setInput, setInput, setInput, setInput, setTextToClipboard, sleep, waitAndCheckElementPresent, waitClickable, waitForElementClickable, waitForElementDisappears, waitForElementInvisibility, waitForElementPresence, waitForElementVisibility, waitInvisibilities, waitInvisibility, waitPresence, waitPresences, waitUntilElementDissappear, waitVisibilities, waitVisibility
-
-
-
-
Method Detail
-
clickElement
@Deprecated public void clickElement(org.openqa.selenium.WebElement element)
Deprecated.Description copied from class:PageBaseMethod that clicks the element specific- Overrides:
clickElementin classPageBase- Parameters:
element- to be clickable
-
clickElement
@Deprecated public void clickElement(org.openqa.selenium.By locator)
Deprecated.Description copied from class:PageBaseMethod that clicks the element specific- Overrides:
clickElementin classPageBase- Parameters:
locator- of the element to be clickable
-
click
public void click(java.lang.String locatorName)
Deprecated.Description copied from class:PageBaseClick the element provided by the locator name
-
click
protected void click(org.openqa.selenium.WebElement element)
Deprecated.
-
click
protected void click(org.openqa.selenium.WebElement element, boolean scroll)Deprecated.
-
click
public void click(java.lang.String locatorName, boolean scroll)Deprecated.
-
clickElementWithoutScroll
public void clickElementWithoutScroll(org.openqa.selenium.By locator)
Deprecated.
-
clickElementWithoutScroll
public void clickElementWithoutScroll(org.openqa.selenium.WebElement element)
Deprecated.
-
maximizeWindow
public void maximizeWindow()
Deprecated.
-
getCompleteURL
public java.lang.String getCompleteURL()
Deprecated.Method that returns the complet url to the page BASE_URL + url- Returns:
- String complete
-
navigateToCompleteURL
public void navigateToCompleteURL()
Deprecated.Method is used to navigated to page complete url BASE_URL + url
-
navigateTo
public void navigateTo(java.lang.String url)
Deprecated.Method is used to navigated to certain page- Parameters:
url- to go. Example: https://crowdar.com.ar
-
switchToLastTab
public void switchToLastTab()
Deprecated.switch to the last tab
-
waitTabOpening
public void waitTabOpening()
Deprecated.Wait to appear more than one tab
-
setDropdownByText
protected void setDropdownByText(org.openqa.selenium.WebElement element, java.lang.String text)Deprecated.
-
setDropdownByText
public void setDropdownByText(java.lang.String locatorName, java.lang.String text)Deprecated.
-
selectOptionDropdownByText
@Deprecated public void selectOptionDropdownByText(org.openqa.selenium.By locator, java.lang.String text)Deprecated.
-
setDropdownByValue
public void setDropdownByValue(java.lang.String locatorName, java.lang.String text)Deprecated.
-
setDropdownByValue
protected void setDropdownByValue(org.openqa.selenium.WebElement element, java.lang.String value)Deprecated.
-
setDropdownByVisibleText
public void setDropdownByVisibleText(java.lang.String locatorName, java.lang.String text)Deprecated.
-
setDropdownByVisibleText
protected void setDropdownByVisibleText(org.openqa.selenium.WebElement element, java.lang.String value)Deprecated.
-
setDropdownByIndex
public void setDropdownByIndex(java.lang.String locatorName, int index)Deprecated.
-
setDropdownByIndex
protected void setDropdownByIndex(org.openqa.selenium.WebElement element, int index)Deprecated.
-
getDropdownSelectedOption
public org.openqa.selenium.WebElement getDropdownSelectedOption(java.lang.String locatorName)
Deprecated.
-
getDropdownSelectedOption
protected org.openqa.selenium.WebElement getDropdownSelectedOption(org.openqa.selenium.WebElement element)
Deprecated.
-
getDropdownAllSelectedOptions
public java.util.List<org.openqa.selenium.WebElement> getDropdownAllSelectedOptions(java.lang.String locatorName)
Deprecated.
-
getDropdownAllSelectedOptions
protected java.util.List<org.openqa.selenium.WebElement> getDropdownAllSelectedOptions(org.openqa.selenium.WebElement element)
Deprecated.
-
selectOptionDropdownByValue
@Deprecated public void selectOptionDropdownByValue(org.openqa.selenium.By locator, java.lang.String value)Deprecated.
-
deselectDropdownAll
protected void deselectDropdownAll(org.openqa.selenium.WebElement element)
Deprecated.
-
deselectDropdownAll
public void deselectDropdownAll(java.lang.String locatorName)
Deprecated.
-
deselectAllOptionsDropdown
@Deprecated public void deselectAllOptionsDropdown(org.openqa.selenium.By locator)
Deprecated.
-
deselectDropdownByValue
protected void deselectDropdownByValue(org.openqa.selenium.WebElement element, java.lang.String value)Deprecated.
-
deselectDropdownByValue
public void deselectDropdownByValue(java.lang.String locatorName, java.lang.String value)Deprecated.
-
deselectDropdownByText
protected void deselectDropdownByText(org.openqa.selenium.WebElement element, java.lang.String text)Deprecated.
-
deselectDropdownByText
public void deselectDropdownByText(java.lang.String locatorName, java.lang.String value)Deprecated.
-
deselectDropdownByIndex
protected void deselectDropdownByIndex(org.openqa.selenium.WebElement element, int index)Deprecated.
-
deselectDropdownByIndex
public void deselectDropdownByIndex(java.lang.String locatorName, int index)Deprecated.
-
deselectOptionDropdownByValue
@Deprecated public void deselectOptionDropdownByValue(org.openqa.selenium.By locator, java.lang.String value)Deprecated.
-
deselectOptionDropdownByText
@Deprecated public void deselectOptionDropdownByText(org.openqa.selenium.By locator, java.lang.String text)Deprecated.
-
isElementPresentAndDisplayed
protected boolean isElementPresentAndDisplayed(org.openqa.selenium.By by)
Deprecated.Similar to does element exist, but also verifies that only one such element exists and that it is displayed- Parameters:
by- By statement locating the element.- Returns:
- boolean if one and only one element matching the locator is found, and if it is displayed and enabled, F otherwise.
-
dragAndDrop
protected void dragAndDrop(org.openqa.selenium.WebElement elementToDrag, org.openqa.selenium.WebElement elementToReplace)Deprecated.Method that drag and drop some element over other element- Parameters:
elementToDrag-elementToReplace-
-
dragAndDrop
public void dragAndDrop(java.lang.String locatorToDrag, java.lang.String locatorToReplace)Deprecated.
-
-