\ModuleEditPage
Class for the back-end control panel screen.
Synopsis
class ModuleEditPage
extends AdminEditPage
{
- // members
- protected $waitForXpath;
- protected $url;
- public $tabs;
- public $groups;
- public unknown_type $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;
- // methods
- public void getFieldValue()
- protected void getModuleType()
- public void getTabIds()
- // 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
—
unknown_type
Associative array of expected input fields for the Account Details and Basic Settings tabs Assigned User Groups tab is omitted because that depends on the groups set up in the sample data - $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
—
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() — Checks for Type and calls special method for this field.
- getTabIds()
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()