コード例 #1
0
 public static bool VerifyDesignerPageHeader()
 {
     try
     {
         return(Control_PropertyUtilities.IsControlVisible(MapLabDictionary.HeaderText_H1()));
     }
     catch (Exception e)
     {
         new DebugLogGenerator().WriteException(MethodBase.GetCurrentMethod().DeclaringType.Name, MethodBase.GetCurrentMethod().Name, e);
     }
     return(false);
 }
コード例 #2
0
 public static bool ClickLabUnitTab(String linkName)
 {
     try
     {
         return(Control_ActionUtilities.Click_PerssEnterKey(MapLabDictionary.LabUnitLink(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);
     }
 }