示例#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);
 }
示例#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();
 }
示例#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.");
 }
示例#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");
 }
示例#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);
 }
示例#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");
 }