\WeblinkEditPage
Page class for the back-end menu items manager screen.
Synopsis
class WeblinkEditPage
extends AdminEditPage
{
- // members
- protected $waitForXpath;
- protected $url;
- public $tabs;
- public $inputFields;
- // Inherited members from AdminEditPage
- public $tabs;
- public $tabLabels;
- public $groups;
- public $toolbar;
- public $inputFields;
- // 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;
- // Inherited methods from AdminEditPage
- public void __construct()
- public void getAllInputFields()
- protected void getInputFieldsForTab()
- protected void getInputFieldsForHeader()
- protected void getInputFieldObjects()
- protected void expandAccordionGroup()
- protected void getInputField()
- public void getFieldValue()
- public void getOptionText()
- protected void getRadioValues()
- protected void getRowNumber()
- protected void getSelectValues()
- public void getTabIds()
- protected void getTextValues()
- public void getToolbarElements()
- public void getToolTip()
- public void printFieldArray()
- public void selectTab()
- public void setFieldValue()
- public void setFieldValues()
- protected void setRadioValues()
- protected void setSelectValues()
- protected void setTextValues()
- protected void setTextAreaValues()
- public void toWikiHelp()
- public void toWikiHelpRadio()
- public void toWikiHelpSelect()
- // 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
- $groups
—
array
Array of groups for this page. A group is a collapsable slider inside a tab. - $inputFields
—
array
Array of all the field Details of the Edit page, along with the ID and tab value they are present on - $inputFields
- $moveToElementByAttribute
—
string
This variable creates a JavaScript function called moveToElementByAttribute. - $tabLabels
—
array
Array of tab labels for this page - $tabs
—
array
Array of tabs present on this page - $tabs
—
array
Array of tabs present on this page - $toolbar
—
array
Array of expected id values for toolbar div elements - $toolbar — array
- $visibleMenuText — array
Methods
Inherited from AdminEditPage
protected
- expandAccordionGroup()
- getInputField()
- getInputFieldObjects()
- getInputFieldsForHeader()
- getInputFieldsForTab()
- getRadioValues()
- getRowNumber()
- getSelectValues()
- getTextValues()
- setRadioValues()
- setSelectValues()
- setTextAreaValues()
- setTextValues()
public
- getAllInputFields()
- getFieldValue()
- getOptionText()
- getTabIds()
- getToolTip()
- getToolbarElements()
- printFieldArray()
- selectTab()
- setFieldValue()
- setFieldValues()
- toWikiHelp() — Output help screen for the page.
- toWikiHelpRadio() — Prepare wiki text for a radio button group Format is: *'''<label>:''' (<option1>/<option2/..) <tooltip text>
- toWikiHelpSelect() — Prepare wiki text for an option group Format is: *'''<label>:''' (<option1>/<option2/..) <tooltip text>
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()