\MenuItemEditPage
Class for the back-end control panel screen.
Synopsis
class MenuItemEditPage
extends AdminEditPage
{
- // members
- protected $waitForXpath;
- protected $url;
- public $tabs;
- public $tabLabels;
- public $groups;
- public $inputFields;
- public $menuItemTypes;
- // 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;
- // methods
- public void getFieldValue()
- protected void getGroupName()
- public void getMenuItemType()
- public void getMenuItemTypes()
- public void getRequestVariable()
- public void setFieldValue()
- public void setMenuItemType()
- public void setRequestVariable()
- // 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
- $url — string
- $waitForXpath
- $waitForXpath — string
public
- $allMenuLinks — array
- $groups
—
array
Array of groups for this page. A group is a collapsable slider inside a tab. - $groups
—
array
Array of groups for this page. A group is a collapsable slider inside a tab. - $inputFields
—
array
Associative array of expected input fields for the Menu Manager: Add / Edit Menu - $inputFields
- $moveToElementByAttribute
—
string
This variable creates a JavaScript function called moveToElementByAttribute. - $tabLabels
—
array
Array of tab labels for this page - $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
protected
public
- getFieldValue()
- getMenuItemType()
- getMenuItemTypes()
- getRequestVariable()
- setFieldValue()
- setMenuItemType()
- setRequestVariable()
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()