\GenericAdminPage
Class for the back-end control panel screen.
Synopsis
class GenericAdminPage
extends AdminPage
{
- // members
- protected $waitForXpath;
- // 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 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
- $waitForXpath
- $waitForXpath — string
public
- $allMenuLinks — array
- $moveToElementByAttribute
—
string
This variable creates a JavaScript function called moveToElementByAttribute. - $toolbar — array
- $visibleMenuText — array
Methods
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()