Beispiel #1
0
 /// <summary>
 /// something
 /// </summary>
 /// <returns></returns>
 public dynamic CopyEditsProgramm()
 {
     ActionBtn.Click();
     Thread.Sleep(0500);
     CopyEditsLnk.Click();
     Thread.Sleep(0500);
     Browser.WaitForElement(Bys.AMAPage.LoadIcon, TimeSpan.FromSeconds(90), ElementCriteria.IsNotVisible);
     return(new CopyCurriculumEditsPage(Browser));
 }
Beispiel #2
0
 /// <summary>
 /// Enters text in the username and password field, clicks the login button, then waits for the URL
 /// of the Library page to load
 /// </summary>
 /// <param name="userName"></param>
 /// <param name="password"></param>
 public dynamic UnassignCurriculum()
 {
     try {
         do
         {
             ActionBtn.Click();
             UnassignCurriculumLnk.Click();
             Thread.Sleep(0500);
             AcceptBtn.Click();
             Browser.WaitForElement(Bys.AMAPage.LoadIcon, TimeSpan.FromSeconds(90), ElementCriteria.IsNotVisible);
         }while (ActionBtn.Displayed);
     }
     catch (NoSuchElementException)
     {
         GCEPPage Gcep = new GCEPPage(Browser);
         // Gcep.GMECompetencyEducationProgramLnk.Click();
         Browser.Navigate().Back();
         Gcep.WaitForInitialize();
         return(Gcep);
     }
     return(null);
 }