Beispiel #1
0
 public static bool VerifyDisplayLMSLink(String linkName)
 {
     try
     {
         return(Control_ActionUtilities.Click_PerssEnterKey(DS_HomePage.GetLink(linkName), "Unable to find link " + linkName + " in Designer Home Page"));
     }
     catch (Exception e)
     {
         new DebugLogGenerator().WriteException(MethodBase.GetCurrentMethod().DeclaringType.Name, MethodBase.GetCurrentMethod().Name, e);
         return(false);
     }
 }
Beispiel #2
0
 public static bool ClickLinkageLink(String process)
 {
     try
     {
         return(Control_ActionUtilities.Click_PerssEnterKey(DS_HomePage.GetLink(process), "Unable to find link " + process + " in Designer Home Page"));
     }
     catch (Exception e)
     {
         new DebugLogGenerator().WriteException(MethodBase.GetCurrentMethod().DeclaringType.Name, MethodBase.GetCurrentMethod().Name, e);
     }
     return(false);
 }
        public static bool VerifyandClickErrorLink(String popupTitle, String errorMessage, String errorLinkName)
        {
            BrowserUtilities.DS_SwitchToConfirmationFrame();
            bool isClicked = false;

            if (IsModalExist_CheckHeaderTextAndErrorLinkMessage(popupTitle, errorMessage))
            {
                isClicked = Control_ActionUtilities.Click_PerssEnterKey(DS_HomePage.GetLink(errorLinkName), "Unable to find link " + errorLinkName + " in Designer Home Page");
            }
            BrowserUtilities.SwitchToWindow();
            return(isClicked);
        }
Beispiel #4
0
 public static bool ControlIsVisible(String linkName)
 {
     try
     {
         return(Control_PropertyUtilities.IsControlVisible(DS_HomePage.GetLink(linkName)));
     }
     catch (Exception e)
     {
         new DebugLogGenerator().WriteException(MethodBase.GetCurrentMethod().DeclaringType.Name, MethodBase.GetCurrentMethod().Name, e);
     }
     return(false);
 }
 public static bool ClickStudyLink(String linkName)
 {
     BrowserUtilities.DS_SwitchToFrame();
     try
     {
         Control_ActionUtilities.Click_PerssEnterKey(DS_HomePage.GetLink(linkName), "Unable to find link " + linkName + " in Designer Home Page");
         BrowserUtilities.SwitchToWindow();
         return(true);
     }
     catch (Exception e)
     {
         new DebugLogGenerator().WriteException(MethodBase.GetCurrentMethod().DeclaringType.Name, MethodBase.GetCurrentMethod().Name, e);
     }
     return(false);
 }