Ejemplo n.º 1
0
 public static bool ClickStudyLink(String linkName)
 {
     try
     {
         return(Control_ActionUtilities.Click_PerssEnterKey(DS_HomePage.StudyManagementProcessLink(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);
 }
        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);
        }
Ejemplo n.º 3
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);
 }