public static void ClickPrimaryButton(IWebDriver driver)
 {
     CommonActions.ClickElement(driver, By.Id("nextBtn"));
 }
 public static void ClickCreateButton(IWebDriver driver)
 {
     CommonActions.ClickElement(driver, By.Id("createBtn"));
 }
Exemplo n.º 3
0
 /// <summary>
 /// Click Cancel in create qcset popup
 /// </summary>
 /// <param name="driver">IWebDriver</param>
 public static void ClickCancelButtonInCreateQcSetPopup(IWebDriver driver)
 {
     CommonActions.ClickElement(driver, By.XPath("//div[@class='modal-footer']//button[contains(text(),'Cancel')]"));
 }
 /// <summary>
 /// Click Cancel in Predictive Coding
 /// </summary>
 /// <param name="driver">IWebDriver</param>
 public static void clickCancelBtn(IWebDriver driver)
 {
     CommonActions.ClickElement(driver, By.ClassName(DefaultButton));
 }
Exemplo n.º 5
0
 /// <summary>
 /// Select statistical sample in sampling options
 /// </summary>
 /// <param name="driver">IWebDriver</param>
 public static void SelectStatisticalSampleInSamplingOptions(IWebDriver driver)
 {
     CommonActions.ClickElement(driver, By.XPath("//input[@id='StatisticalSample']"));
 }
Exemplo n.º 6
0
 /// <summary>
 /// Select fixedsize in sampling options
 /// </summary>
 /// <param name="driver">IWebDriver</param>
 public static void SelectFixedSizeInSamplingOptions(IWebDriver driver)
 {
     CommonActions.ClickElement(driver, By.XPath("//input[@id='FixedSize']"));
     CommonActions.EnterTextInTextBox(driver, By.XPath("//input[@id='qcSetSize']"), Resources.Qcset.SampleSize);
 }
Exemplo n.º 7
0
 /// <summary>
 ///  check Sample size re calculated value
 /// </summary>
 /// <param name="driver">IWebDriver</param>
 public static void CheckSampleSizeReCalculatedValue(IWebDriver driver)
 {
     CommonActions.ClickElement(driver, By.XPath("//b[contains(text(),'1,537')]"));
 }
Exemplo n.º 8
0
 /// <summary>
 /// Click OK button to create controlset
 /// </summary>
 /// <param name="driver">IWebDriver</param>
 public static void ClickOkButtonToCreateControlset(IWebDriver driver)
 {
     CommonActions.ClickElement(driver, By.Id("confirmBtn"));
 }
Exemplo n.º 9
0
 /// <summary>
 /// Change margin of error values
 /// </summary>
 /// <param name="driver">IWebDriver</param>
 public static void ChangeMarginOfErrorSelection(IWebDriver driver)
 {
     CommonActions.ClickElement(driver, By.XPath("//input[@id='selMarginOfError'][@value='5']"));
 }
Exemplo n.º 10
0
 /// <summary>
 /// Change confidence level values
 /// </summary>
 /// <param name="driver">IWebDriver</param>
 public static void ChangeConfidenceLevelSelection(IWebDriver driver)
 {
     CommonActions.ClickElement(driver, By.XPath("//input[@id='selConfidence'][@value='99']"));
 }
Exemplo n.º 11
0
 /// <summary>
 /// Click Create control set button to open Create controlset popup
 /// </summary>
 /// <param name="driver">IWebDriver</param>
 public static void ClickStartButtonToOpenCreateControlsetPopup(IWebDriver driver)
 {
     CommonActions.ClickElement(driver, By.Id("btnCreate1"));
 }
Exemplo n.º 12
0
 /// <summary>
 /// Click Cancel for create controlset
 /// </summary>
 /// <param name="driver">IWebDriver</param>
 public static void ClickCancelButtonInCreateControlsetPopup(IWebDriver driver)
 {
     CommonActions.ClickElement(driver, By.XPath("//button[contains(text(),'Cancel')]"));
 }
Exemplo n.º 13
0
 /// <summary>
 ///  click on project dashboard link
 /// </summary>
 /// <param name="driver">IWebDriver</param>
 public static void ClickOnProjectDashboardLink(IWebDriver driver)
 {
     CommonActions.ClickElement(driver, By.XPath("//a[@ng-click='ReviewSetController.goToDashboard()']"));
 }