예제 #1
0
 protected override void FocusingEventHandler(object sender, ComponentActionEventArgs arg) => BugReportingContextService.AddStep($"Focus {arg.Element.ComponentName} on {arg.Element.PageName}");
 protected override void ValidatedHeightIsNotNullEventHandler(object sender, ComponentActionEventArgs arg) => DynamicTestCasesService.AddAssertStep($"Assert {arg.Element.ComponentName} height ", $"is NOT NULL");
 protected override void ValidatedColorIsEventHandler(object sender, ComponentActionEventArgs arg) => DynamicTestCasesService.AddAssertStep($"Assert {arg.Element.ComponentName} color ", $"is '{arg.ActionValue}'");
 protected override void SettingPercentageEventHandler(object sender, ComponentActionEventArgs <AndroidElement> arg) => BugReportingContextService.AddStep($"Set {arg.Element.ComponentName} to '{arg.ActionValue}'% on {arg.Element.PageName}");
 protected override void ValidatedInnerHtmlContainsEventHandler(object sender, ComponentActionEventArgs arg) => DynamicTestCasesService.AddAssertStep($"Assert {arg.Element.ComponentName} inner HTML ", $"contains '{arg.ActionValue}'");
예제 #6
0
 protected override void UncheckingEventHandler(object sender, ComponentActionEventArgs <IOSElement> arg) => DynamicTestCasesService.AddStep($"Uncheck {arg.Element.ComponentName} on {arg.Element.PageName}");
예제 #7
0
 protected virtual void MonthSetEventHandler(object sender, ComponentActionEventArgs arg)
 {
 }
 protected override void ValidatedIsOffEventHandler(object sender, ComponentActionEventArgs <AndroidElement> arg) => DynamicTestCasesService.AddAssertStep($"Assert {arg.Element.ComponentName} ", "is OFF");
 protected override void ValidatedNumberIsEventHandler(object sender, ComponentActionEventArgs <AndroidElement> arg) => DynamicTestCasesService.AddAssertStep($"Assert {arg.Element.ComponentName} number ", "is '{arg.ActionValue}'");
 protected override void UncheckingEventHandler(object sender, ComponentActionEventArgs arg) => BugReportingContextService.AddStep($"Uncheck {arg.Element.ComponentName}".AddDynamicTestCasesUsingLocatorsMessage(arg));
 protected override void ValidatedTextIsNotSetEventHandler(object sender, ComponentActionEventArgs <AndroidElement> arg) => DynamicTestCasesService.AddAssertStep($"Assert {arg.Element.ComponentName} text ", "is NULL");
 protected override void SettingPasswordEventHandler(object sender, ComponentActionEventArgs <IOSElement> arg) => DynamicTestCasesService.AddStep($"Type '{arg.ActionValue}' into {arg.Element.ComponentName} on {arg.Element.PageName}");
 protected override void ValidatedIsOffEventHandler(object sender, ComponentActionEventArgs <AndroidElement> arg) => BugReportingContextService.AddAssertStep($"Assert {arg.Element.ComponentName} ", "is OFF");
 protected override void ValidatedTextIsEventHandler(object sender, ComponentActionEventArgs <AndroidElement> arg) => BugReportingContextService.AddAssertStep($"Assert {arg.Element.ComponentName} text ", $"is '{arg.ActionValue}'");
예제 #15
0
 protected override void ClickingEventHandler(object sender, ComponentActionEventArgs <AndroidElement> arg)
 {
     DebugLogger.LogInfo($"Before clicking button. Coordinates: X={arg.Element.WrappedElement.Location.X} Y={arg.Element.WrappedElement.Location.Y}");
 }
예제 #16
0
 protected virtual void SelectedEventHandler(object sender, ComponentActionEventArgs <AndroidElement> arg)
 {
 }
예제 #17
0
 protected override void SettingSearchEventHandler(object sender, ComponentActionEventArgs arg) => DynamicTestCasesService.AddStep($"Type '{arg.ActionValue}' into {arg.Element.ComponentName}".AddDynamicTestCasesUsingLocatorsMessage(arg));
 protected override void ScrollingToVisibleEventHandler(object sender, ComponentActionEventArgs arg) => Logger.LogInformation($"Scroll to visible {arg.Element.ComponentName} on {arg.Element.PageName}");
 protected override void SettingTimeEventHandler(object sender, ComponentActionEventArgs arg) => BugReportingContextService.AddStep($"Set '{arg.ActionValue}' into {arg.Element.ComponentName} on {arg.Element.PageName}");
 protected override void FocusingEventHandler(object sender, ComponentActionEventArgs arg) => Logger.LogInformation($"Focus {arg.Element.ComponentName} on {arg.Element.PageName}");
예제 #21
0
 protected override void SettingPasswordEventHandler(object sender, ComponentActionEventArgs <AndroidElement> arg) => BugReportingContextService.AddStep($"Type '{arg.ActionValue}' into {arg.Element.ComponentName} on {arg.Element.PageName}");
예제 #22
0
 protected override void SelectingEventHandler(object sender, ComponentActionEventArgs arg) => Logger.LogInformation($"Select '{arg.ActionValue}' from {arg.Element.ComponentName}".AddUrlOrPageToBddLogging(arg.Element.PageName));
 protected override void UncheckingEventHandler(object sender, ComponentActionEventArgs <IOSElement> arg) => BugReportingContextService.AddStep($"Uncheck {arg.Element.ComponentName} on {arg.Element.PageName}");
예제 #24
0
 protected override void SelectingEventHandler(object sender, ComponentActionEventArgs <AndroidElement> arg) => DynamicTestCasesService.AddStep($"Select '{arg.ActionValue}' from {arg.Element.ComponentName} on {arg.Element.PageName}");
 protected override void ValidatedHrefIsSetEventHandler(object sender, ComponentActionEventArgs arg) => DynamicTestCasesService.AddAssertStep($"Assert {arg.Element.ComponentName} href ", $"is not empty'");
예제 #26
0
 protected virtual void SettingColorEventHandler(object sender, ComponentActionEventArgs arg)
 {
 }
 protected override void ValidatedCssClassIsNullEventHandler(object sender, ComponentActionEventArgs arg) => DynamicTestCasesService.AddAssertStep($"Assert {arg.Element.ComponentName} CSS class ", $"is NULL");
예제 #28
0
 protected override void ClickingEventHandler(object sender, ComponentActionEventArgs <AndroidElement> arg) => Logger.LogInformation($"Click {arg.Element.ComponentName} on {arg.Element.PageName}");
 protected override void ValidatedIsCheckedEventHandler(object sender, ComponentActionEventArgs arg) => DynamicTestCasesService.AddAssertStep($"Assert {arg.Element.ComponentName} ", $"is checked");
예제 #30
0
 protected override void ScrollingToVisibleEventHandler(object sender, ComponentActionEventArgs arg) => BugReportingContextService.AddStep($"Scroll to visible {arg.Element.ComponentName} on {arg.Element.PageName}");