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