Esempio n. 1
0
 public void Tc_Role_008()
 {
     testStarts("Tc_Role_008", "Verify the validation message creating the role with empty in role name.");
     openBrowser(URL);
     LoginPage.login(UserName, Password);
     waitForElementToDisplay(OR.Home_Menu_users, 60);
     clickOn(OR.Home_Menu_role);
     RolePage.CreateRoleCancel(RolePage.RoleName);
 }
Esempio n. 2
0
 public void Tc_Role_004()
 {
     testStarts("Tc_Role_004", "Verify the fields in role page");
     openBrowser(URL);
     LoginPage.login(UserName, Password);
     waitForElementToDisplay(OR.Home_Menu_users, 60);
     clickOn(OR.Home_Menu_role);
     RolePage.rolePageverification();
 }
Esempio n. 3
0
 public void Tc_Role_007()
 {
     testStarts("Tc_Role_007", "Verify the validation message creating the role with empty in role name.");
     openBrowser(URL);
     LoginPage.login(UserName, Password);
     waitForElementToDisplay(OR.Home_Menu_users, 60);
     clickOn(OR.Home_Menu_role);
     RolePage.CreateRole("");
     verifyElementText(OR.Roles_Name_validation, "Role name is required.");
 }
Esempio n. 4
0
 public void Tc_Role_006()
 {
     testStarts("Tc_Role_006", "Verify admin role able to edit");
     openBrowser(URL);
     LoginPage.login(UserName, Password);
     waitForElementToDisplay(OR.Home_Menu_users, 60);
     clickOn(OR.Home_Menu_role);
     RolePage.EditAdminRole();
     verifyElementText(OR.Roles_Admin_validation, "This role is read-only and may not be changed");
 }
Esempio n. 5
0
 public void Tc_Role_001()
 {
     testStarts("Tc_Role_001", "Verify by creating new Role");
     openBrowser(URL);
     LoginPage.login(UserName, Password);
     waitForElementToDisplay(OR.Home_Menu_users, 60);
     clickOn(OR.Home_Menu_role);
     RolePage.CreateRole(RolePage.RoleName);
     verifyElementText(OR.Roles_Create_sucessmessage, "Role created successfully");
     RolePage.verifyRole(RolePage.RoleName);
 }
Esempio n. 6
0
 public void Tc_Role_005()
 {
     testStarts("Tc_Role_005", "Verify the validation message creating the role that already in the list.");
     openBrowser(URL);
     LoginPage.login(UserName, Password);
     waitForElementToDisplay(OR.Home_Menu_users, 60);
     clickOn(OR.Home_Menu_role);
     RolePage.CreateRole(RolePage.RoleName);
     verifyElementText(OR.Roles_Create_sucessmessage, "Role created successfully");
     RolePage.verifyRole(RolePage.RoleName);
     RolePage.CreateRole(RolePage.RoleName);
     verifyElementText(OR.Roles_Create_failsmessage, "Role Name is already present");
 }