Class LoginPage


  • public class LoginPage
    extends Object
    Login page class - contains methods to login to wso2 products.
    • 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 name
        password - login password
        Returns:
        reference to Home page
        Throws:
        IOException - if mapper.properties file not found