public void UserTestCases()
 {
     UsersReusables = new UsersReusables(driver);
     foreach (var ItemOne in UserSuites.ParamValOne)
     {
         foreach (var ItemTwo in UserSuites.ParamValOne)
         {
             foreach (var ItemThree in UserSuites.ParamValOne)
             {
                 foreach (var ItemFour in UserSuites.ParamValOne)
                 {
                     foreach (var ItemFive in UserSuites.ParamValOne)
                     {
                         foreach (var ItemSix in UserSuites.ParamValOne)
                         {
                             foreach (var ItemSeven in UserSuites.ParamValOne)
                             {
                                 ++Count;
                                 ReportEngine.Count = Count;
                                 UserResult         = UsersReusables.UserRegistrationCompulsoryFields(ItemOne, ItemTwo, ItemThree, ItemFour, ItemFive, ItemSix, ItemSeven);
                                 ReportEngine.ReportEngineGlobal(4, UserReadPath, UserWritePath, UserResult);
                                 new Base.Base(driver).UserRegisrationFailed(UserValidations.RegistrationFailedPanels, UserValidations.CloseFailedPanel);
                                 UsersReusables.ReclickCreate(SystemAdminConstants.Users, UserConstants.CreateUser, UserConstants.CreateUser, UserValidations.UserFooter, driver, UserConstants.AddNewUser);
                             }
                         }
                     }
                 }
             }
         }
     }
 }
Beispiel #2
0
 public void RunGroupSuite()
 {
     GroupReusables = new GroupReusables(driver);
     foreach (var ItemOne in GroupSuites.ParamValuesOne)
     {
         foreach (var ItemTwo in GroupSuites.ParameValuesTwo)
         {
             foreach (var ItemThree in GroupSuites.ParamValuesThree)
             {
                 GroupReusables.GroupReusablesMap(ItemOne, ItemTwo, ItemThree);
                 UsersReusables.ReclickCreate(GroupConstants.Groups, GroupConstants.GroupAdd, GroupConstants.GroupAdd, GroupConstants.GroupAddFooter, driver, GroupConstants.GroupAddAssert);
             }
         }
     }
 }