public VendOrHold SelectCapacity(int capacity) { var key = $"cap{capacity}"; WaitUtils.WaitLocator(Driver, Locators[key], 5); elements[key].Click(); return(this); }
public bool IsPrefixNumberValidated(int timeoutSecond = 15) { var el = WaitUtils.WaitLocator(Driver, Locators["prefixValidationError"], timeoutSecond); return(el != null); }
public Review ClickVendIdentifier() { WaitUtils.WaitLocator(Driver, Locators["vendIdentifier"], 5); elements["vendIdentifier"].Click(); return(this); }
public string ReadLabel(string elementKey) { var el = WaitUtils.WaitLocator(Driver, Locators[elementKey], 15); return(el.Text); }
public OnHoldPrefixesReview ClickYesButton() { WaitUtils.WaitLocator(Driver, Locators["yesButton"], 5).Click(); return(this); }
public OpenPrefixRange ClickNextButton() { WaitUtils.WaitLocator(Driver, Locators["next"], 5); elements["next"].Click(); return(this); }
public OpenPrefixRange ClickEnableAutomaticVending() { WaitUtils.WaitLocator(Driver, Locators["autoVendingCheckbox"], 5); elements["autoVendingCheckbox"].Click(); return(this); }
protected override void WaitForPage() { WaitUtils.WaitLocator(Driver, Locators["thankYou"], 180); }
public VendOrHold ClickEdiComIdButton() { WaitUtils.WaitLocator(Driver, Locators["ediComIdButton"], 5); elements["ediComIdButton"].Click(); return(this); }
public VendOrHold ClickEanPrefix() { WaitUtils.WaitLocator(Driver, Locators["eanPrefixButton"], 5); elements["eanPrefixButton"].Click(); return(this); }
public VendOrHold ClickHoldAPrefix() { WaitUtils.WaitLocator(Driver, Locators["hold"], 5); elements["hold"].Click(); return(this); }
public VendOrHold ClickVendAnIdentifier() { WaitUtils.WaitLocator(Driver, Locators["vend"], 5); elements["vend"].Click(); return(this); }
public VendOrHold EnterReasonForHolding(string reason) { WaitUtils.WaitLocator(Driver, Locators["reason"], 5); elements["reason"].SetText(reason); return(this); }
public VendOrHold EnterLabelerCode(string labelerCode) { WaitUtils.WaitLocator(Driver, Locators["labelerCode"], 5); elements["labelerCode"].SetText(labelerCode); return(this); }
public VendOrHold WaitPrefixAvailableLabel() { WaitUtils.WaitLocator(Driver, By.CssSelector("div.status.green"), 15); return(this); }
protected override void WaitForPage() { WaitUtils.WaitLocator(Driver, Locators["agreementLastPara"], 60); }
public ClosePrefixRange EnterRange(string range) { WaitUtils.WaitLocator(Driver, Locators["range"], 5); elements["range"].SetText(range); return(this); }
protected override void WaitForPage() { WaitUtils.WaitLocator(Driver, Locators["dropdown"], 20); }
public bool IsSyncSucceeded(int timeoutSecond = 120) { var el = WaitUtils.WaitLocator(Driver, Locators["syncSuccessNotice"], timeoutSecond); return(el != null); }
public OpenPrefixRangeReview ClickOpenRange() { WaitUtils.WaitLocator(Driver, Locators["openRangeButton"], 5); elements["openRangeButton"].Click(); return(this); }
public OpenPrefixRange EnterReasonForOpening(string reason) { WaitUtils.WaitLocator(Driver, Locators["reason"], 5); elements["reason"].SetText(reason); return(this); }
protected override void WaitForPage() { WaitUtils.WaitLocator(Driver, Locators["welcome"], 60); }
public OnHoldPrefixesReview ClickVendPrefix() { WaitUtils.WaitLocator(Driver, Locators["vendPrefixButton"], 5); elements["vendPrefixButton"].Click(); return(this); }
public ClosePrefixRangeReview ClickCloseRange() { WaitUtils.WaitLocator(Driver, Locators["closeRangeButton"], 5); elements["closeRangeButton"].Click(); return(this); }
public bool HasLabel(string label) => WaitUtils.WaitLocator(Driver, By.XPath($"//div[text()='{label}']"), 5) != null;
public Main SelectVendOrHold() { WaitUtils.WaitLocator(Driver, Locators["vendOrHold"], 5); elements["vendOrHold"].Click(); return(this); }
protected override void WaitForPage() { WaitUtils.WaitLocator(Driver, Locators["no"], 15); }
public Main SelectClosePrefixRange() { WaitUtils.WaitLocator(Driver, Locators["closePrefixRange"], 5); elements["closePrefixRange"].Click(); return(this); }
public Review ClickHoldPrefix() { WaitUtils.WaitLocator(Driver, Locators["holdPrefix"], 5); elements["holdPrefix"].Click(); return(this); }
public Main SelectOnHoldPrefixes() { WaitUtils.WaitLocator(Driver, Locators["onHoldPrefixes"], 5); elements["onHoldPrefixes"].Click(); return(this); }