\ContactManagerPage
Page class for the back-end component contact menu.
Synopsis
class ContactManagerPage
extends AdminManagerPage
{
- // members
- protected $waitForXpath;
- protected $url;
- public $filters;
- public $toolbar;
- // Inherited members from AdminManagerPage
- public $toolbar;
- public AdminEditPage $editItem;
- public $filters;
- // Inherited members from AdminPage
- protected Webdriver $driver;
- protected SeleniumConfig $cfg;
- protected $waitForXpath;
- protected JoomlaWebdriverTestCase $test;
- public $toolbar;
- protected $url;
- public $visibleMenuText;
- public $allMenuLinks;
- public $moveToElementByAttribute;
- // methods
- public ContactManagerPage addContact()
- public void editContact()
- public State getState()
- public void changeContactState()
- // Inherited methods from AdminManagerPage
- public void checkAll()
- public void clickItem()
- public void getFieldValues()
- public void getFilters()
- public void getToolbarElements()
- public void getSubMenuList()
- public mixed getRowNumber()
- public void getRowText()
- public void orderAndGetRowNumbers()
- public void searchFor()
- public void setFilter()
- public void setOrder()
- public void setOrderDirection()
- public void trashAndDelete()
- public void delete()
- // Inherited methods from AdminPage
- public void __construct()
- public void __toString()
- public bool checkForNotices()
- public void clickButton()
- public void clickMenu()
- public void clickMenuByUrl()
- public void enterTextField()
- public void getAlertMessage()
- public array getAllMenuLinks()
- public void getErrorMessage()
- public void getSystemMessage()
- public array getVisibleMenuLinks()
- public void saveAndClose()
Hierarchy
Extends
Members
protected
- $cfg — SeleniumConfig
- $driver — Webdriver
- $test — JoomlaWebdriverTestCase
- $url
—
string
URL used to uniquely identify this page - $url — string
- $waitForXpath
—
string
XPath string used to uniquely identify this page - $waitForXpath — string
public
- $allMenuLinks — array
- $editItem — AdminEditPage
- $filters
—
array
Array of filter id values for this page - $filters — array
- $moveToElementByAttribute
—
string
This variable creates a JavaScript function called moveToElementByAttribute. - $toolbar
—
array
Array of toolbar id values for this page - $toolbar
- $toolbar — array
- $visibleMenuText — array
Methods
public
- addContact() — Add a new Contact item in the Contact Manager: Component screen.
- changeContactState() — Change state of a Contact item in the Contact Manager: Contact Items screen.
- editContact() — Edit a Contact item in the Contact Manager: Contact Items screen.
- getState() — Get state of a Contact item in the Contact Manager: Contact Items screen.
Inherited from AdminManagerPage
public
- checkAll()
- clickItem()
- delete()
- getFieldValues() — Returns an array of field values from an edit screen.
- getFilters()
- getRowNumber() — Checks a table for a row containing the desired text
- getRowText()
- getSubMenuList()
- getToolbarElements()
- orderAndGetRowNumbers()
- searchFor()
- setFilter()
- setOrder()
- setOrderDirection()
- trashAndDelete()
Inherited from AdminPage
public
- __toString()
- checkForNotices() — Checks for notices on a page.
- clickButton()
- clickMenu()
- clickMenuByUrl()
- enterTextField()
- getAlertMessage()
- getAllMenuLinks() — Finds all menu links in the top menu of an admin screen
- getErrorMessage()
- getSystemMessage()
- getVisibleMenuLinks() — Gets array of visible links in the menu container This is normally the header menu for back-end manager screens
- saveAndClose()