public static void PartnerSearchAction()
        {
            var data = TestEnvironment.LoadJson();

            WebDriverUtils.InputValues(LoginPageObjects.EmailField(), data.Login.Username);
            WebDriverUtils.ClickAction(LoginPageObjects.NextButtonEmail());
            WebDriverUtils.InputValues(LoginPageObjects.PasswordField(), data.Login.Password);
            WebDriverUtils.ClickAction(LoginPageObjects.SignInButton());
            WebDriverUtils.ClickAction(LoginPageObjects.YesButton());
            WebDriverUtils.ClickAction(LoginPageObjects.DoneButton());
            WebDriverUtils.ClickAction(ProgramsPageObjects.ProgramHeaderLink());
            WebDriverUtils.ClickAction(PartnerPageObjects.PartnerLink());
            WebDriverUtils.InputValues(PartnerPageObjects.PartnerSearchField(), data.Partners.PartnerKeyword);
            WebDriverUtils.ClickAction(PartnerPageObjects.SearchPartnerIncludeInactiveCheckbox());
            WebDriverUtils.ClickAction(PartnerPageObjects.PartnerSearchButton());
        }
 public static void CreateNewPartnerNavigation()
 {
     PartnerAdminSearch.PartnerSearchAction();
     WebDriverUtils.ClickAction(PartnerPageObjects.AddPartnerLink());
 }
Beispiel #3
0
 public static void PartnerNavigation()
 {
     ProgramAdmin.ProgramsNavigation();
     WebDriverUtils.ClickAction(PartnerPageObjects.PartnerLink());
 }
Beispiel #4
0
 public void PartnerAddNewTest()
 {
     try
     {
         PartnerAdminCreateNew.CreateNewPartnerNavigation();
         Assert.AreEqual(TestEnvironment.LoadJson().Partners.CreatePartnerHeader, WebDriverUtils.TextChecker(PartnerPageObjects.CreatePartnerHeader()));
         log.Info(System.Reflection.MethodBase.GetCurrentMethod());
         log.Info(LoginPageObjects.SuccessMessage());
     }
     catch (Exception ex)
     {
         log.Error(System.Reflection.MethodBase.GetCurrentMethod());
         log.Error(LoginPageObjects.FailedMessage() + ex.Message);
         Assert.Fail(ex.Message);
     }
 }
Beispiel #5
0
 public static void PartnerOverviewNavigation()
 {
     PartnerAdminSearch.PartnerSearchAction();
     WebDriverUtils.ClickAction(PartnerPageObjects.ProgramDetailsLink());
 }