Search in sources :

Example 1 with AddUserPage

use of org.wso2.iot.integration.ui.pages.uesr.AddUserPage in project product-iots by wso2.

the class AdminFunctionsTest method createUserTest.

@Test(description = "Test for creating a new user")
public void createUserTest() throws IOException {
    IOTAdminDashboard adminDashboard = new IOTAdminDashboard(driver);
    AddUserPage addUserPage = adminDashboard.addUser();
    addUserPage.createNewUser("user1", "User", "User", "user@wso2.com");
}
Also used : AddUserPage(org.wso2.iot.integration.ui.pages.uesr.AddUserPage) IOTAdminDashboard(org.wso2.iot.integration.ui.pages.home.IOTAdminDashboard) Test(org.testng.annotations.Test)

Aggregations

Test (org.testng.annotations.Test)1 IOTAdminDashboard (org.wso2.iot.integration.ui.pages.home.IOTAdminDashboard)1 AddUserPage (org.wso2.iot.integration.ui.pages.uesr.AddUserPage)1