public class MLUILoginPage extends MLUIPage
driver, mlUIElementMapper| Constructor and Description |
|---|
MLUILoginPage(org.openqa.selenium.WebDriver driver)
Creates a reference to the login page
|
| Modifier and Type | Method and Description |
|---|---|
MLUIHomePage |
loginAs(String userName,
String password)
Provide facility to log into the ml UI using user credentials
|
getDriver, getElementCount, isElementPresent, isEnabled, sleepTillPageFoundpublic MLUILoginPage(org.openqa.selenium.WebDriver driver)
throws MLUIPageCreationException
driver - instance of the web driverInvalidPageExceptionMLUIPageCreationExceptionpublic MLUIHomePage loginAs(String userName, String password) throws InvalidPageException
userName - login user namepassword - login passwordInvalidPageExceptionCopyright © 2015 WSO2, Inc.. All rights reserved.