Inheritance: IEntity
 public SelectOptionStep(Guid stepId, string element, string text, string value, Criterion criterion)
     :base(stepId, criterion)
 {
     Element = element;
     Text = text;
     Value = value;
 }
 public ElementHasStyleStep(Guid stepId, string element, string styleKey, string styleValue, Criterion criterion)
     :base(stepId, criterion)
 {
     Element = element;
     StyleKey = styleKey;
     StyleValue = styleValue;
 }
Beispiel #3
0
 public virtual LinkedCriterion AddCriterion(CriterionType type, Criterion criterion)
 {
     var priority = LinkedCriteria.Count() + 1;
     var linkedCriterion = new LinkedCriterion(Guid.NewGuid(), this, type, criterion, priority);
     ((IList<LinkedCriterion>)LinkedCriteria).Add(linkedCriterion);
     return linkedCriterion;
 }
Beispiel #4
0
 protected ApiStep(Guid id, string host, string resource, string responsePayloadKey, IEnumerable<HttpRequestOption> requestOptions, Criterion criterion)
     : base(id, criterion)
 {
     Host = host;
     Resource = resource;
     ResponsePayloadKey = responsePayloadKey;
     RequestOptions = requestOptions;
 }
Beispiel #5
0
 public LinkedCriterion(Guid linkedCriterionId, Scenario scenario, CriterionType type, Criterion criterion,
     int priority)
 {
     Id = linkedCriterionId;
     StepResults = new List<StepRunResult>();
     Scenario = scenario;
     Type = type;
     Criterion = criterion;
     Priority = priority;
 }
 public ElementContainsTextStep(Guid id, string element, string text, Criterion criterion)
     : base(id, criterion)
 {
     Element = element;
     Text = text;
 }
Beispiel #7
0
 public ApiPatchStep(Guid id, string host, string resource, object payload, string responsePayloadKey,
     IEnumerable<HttpRequestOption> requestOptions, Criterion criterion)
     : base(id, host, resource, responsePayloadKey, requestOptions, criterion)
 {
     Payload = payload;
 }
Beispiel #8
0
 public PressKeyStep(Guid stepId, string element, int keyCode, Criterion criterion)
     :base(stepId, criterion)
 {
     Element = element;
     KeyCode = keyCode;
 }
 public ElementDoesNotExistStep(Guid stepId, Criterion criterion, string element) : base(stepId, criterion)
 {
     Element = element;
 }
 public WaitForElementStep(Guid stepId, string element, int seconds, Criterion criterion)
     : base(stepId, criterion)
 {
     Element = element;
     Seconds = seconds;
 }
 public ElementExistsStep(Guid stepId, string element, Criterion criterion)
     :base(stepId, criterion)
 {
     Element = element;
 }
Beispiel #12
0
 public ClickStep(Guid id, string element, Criterion criterion)
     : base(id, criterion)
 {
     Element = element;
 }
Beispiel #13
0
 protected Step(Guid id, Criterion criterion)
 {
     Id = id;
     Criterion = criterion;
 }
Beispiel #14
0
 public JavascriptAssert(Guid id, string javascriptExpression, Criterion criterion)
     : base(id, 200, criterion)
 {
     JavascriptExpression = javascriptExpression;
 }
Beispiel #15
0
 protected BrowserStep(Guid id, Criterion criterion)
     : base(id, criterion)
 {            
 }
Beispiel #16
0
 public NavigateStep(Guid id, string url, Criterion criterion)
     : base(id, criterion)
 {
     Url = url;
 }
Beispiel #17
0
 public ApiOptionsStep(Guid id, string host, string resource, string responsePayloadKey,
     IEnumerable<HttpRequestOption> requestOptions, Criterion criterion)
     : base(id, host, resource, responsePayloadKey, requestOptions, criterion)
 {
 }
 public ElementHasClassStep(Guid stepId, string element, string className, Criterion criterion)
     : base(stepId, criterion)
 {            
     Element = element;
     ClassName = className;
 }
Beispiel #19
0
 protected ApiAssert(Guid id, int statusCode, Criterion criterion)
     : base(id, criterion)
 {
     StatusCode = statusCode;
 }
Beispiel #20
0
 public WaitSecondsStep(Guid stepId, int seconds, Criterion criterion):base(stepId, criterion)
 {
     Seconds = seconds;
 }