Class LoginPage
- java.lang.Object
-
- org.wso2.am.integration.ui.pages.admin.LoginPage
-
public class LoginPage extends Object
Login page class - contains methods to login to wso2 products.
-
-
Constructor Summary
Constructors Constructor Description LoginPage(org.openqa.selenium.WebDriver driver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HomePageloginAs(String userName, String password)Provide facility to log into the products using user credentials
-
-
-
Constructor Detail
-
LoginPage
public LoginPage(org.openqa.selenium.WebDriver driver) throws IOException- Throws:
IOException
-
-
Method Detail
-
loginAs
public HomePage loginAs(String userName, String password) throws IOException
Provide facility to log into the products using user credentials- Parameters:
userName- login user namepassword- login password- Returns:
- reference to Home page
- Throws:
IOException- if mapper.properties file not found
-
-