/// <summary> /// Check 'Total document label' exists /// </summary> /// <param name="driver">IWebDriver</param> public static bool IsProjectStatusExists(IWebDriver driver) { try { CommonActions.ElementShouldBeEnabled(driver, By.Id("totalDocumentCount")); } catch (Exception) { return(false); } return(true); }
/// <summary> /// Check Next status after clicking cancel in create qcset popup /// </summary> /// <param name="driver">IWebDriver</param> public static void VerifyCreateQcSetIsEnabled(IWebDriver driver) { CommonActions.ElementShouldBeEnabled(driver, By.Id("btnCreateQCSet")); }
/// <summary> /// Check Next status after create qcset /// </summary> /// <param name="driver">IWebDriver</param> public static void VerifyQcSetIsCreated(IWebDriver driver) { CommonActions.ElementShouldBeEnabled(driver, By.Id("verificationSetTab")); }