示例#1
0
 public StyleCheckValidator(HtmlElementLocator locator = null, string value = null, Regex valueRegex = null, ValueValidateDelegate checkDelegate = null)
 {
     this.Locator       = locator;
     this.Value         = value;
     this.ValueRegex    = valueRegex;
     this.CheckDelegate = checkDelegate;
 }
示例#2
0
 public ValueCheckValidator(HtmlElementLocator locator = null, string attributeName = null, string value = null, Regex valueRegex = null)
 {
     this.Locator       = locator;
     this.AttributeName = attributeName;
     this.Value         = value;
     this.ValueRegex    = valueRegex;
 }
示例#3
0
 public ClickWebStep(String name = null, HtmlElementLocator locator = null, string method = "click", WebValidator validator = null)
     : base(name)
 {
     this.ElementLocator = locator;
     this.Method         = method;
     this.Validator      = validator;
 }
示例#4
0
 public FormWebStep(String name = null, HtmlElementLocator locator = null, Dictionary <string, string> parameters = null, string method = "submit", WebValidator validator = null, WebCallback preElementLocatorCallback = null)
     : base(name)
 {
     this.ElementLocator            = locator;
     this.Method                    = method;
     this.Parameters                = parameters;
     this.Validator                 = validator;
     this.PreElementLocatorCallback = preElementLocatorCallback;
 }
示例#5
0
 public ExtractWebAction(DataExtractor <HtmlElement, V> extractor = null, string contextKey = null, HtmlElementLocator locator = null)
 {
     Extractor  = extractor;
     ContextKey = contextKey;
     Locator    = locator;
 }
示例#6
0
 public LocatorCheckValidator(HtmlElementLocator locator = null)
 {
     Locator = locator;
 }