Ejemplo n.º 1
0
 protected override void SelectingEventHandler(object sender, ElementActionEventArgs arg) => BugReportingContextService.AddStep($"Select '{arg.ActionValue}' from {arg.Element.ElementName}".AddDynamicTestCasesUsingLocatorsMessage(arg));
 protected override void ClickingEventHandler(object sender, ElementActionEventArgs <IOSElement> arg) => BugReportingContextService.AddStep($"Click {arg.Element.ElementName} on {arg.Element.PageName}");
 protected override void TurningOffEventHandler(object sender, ComponentActionEventArgs <AndroidElement> arg) => BugReportingContextService.AddStep($"Turn off {arg.Element.ComponentName} on {arg.Element.PageName}");
Ejemplo n.º 4
0
 protected override void SelectingEventHandler(object sender, ComponentActionEventArgs <IOSElement> arg) => BugReportingContextService.AddStep($"Select '{arg.ActionValue}' from {arg.Element.ComponentName} on {arg.Element.PageName}");
 protected override void SettingPasswordEventHandler(object sender, ComponentActionEventArgs arg) => BugReportingContextService.AddStep($"Type '{arg.ActionValue}' into {arg.Element.ComponentName}".AddDynamicTestCasesUsingLocatorsMessage(arg));
 protected override void SettingPercentageEventHandler(object sender, ElementActionEventArgs <AndroidElement> arg) => BugReportingContextService.AddStep($"Set {arg.Element.ElementName} to '{arg.ActionValue}'% on {arg.Element.PageName}");
Ejemplo n.º 7
0
 protected override void SettingPasswordEventHandler(object sender, ElementActionEventArgs <IOSElement> arg) => BugReportingContextService.AddStep($"Type '{arg.ActionValue}' into {arg.Element.ElementName} on {arg.Element.PageName}");
Ejemplo n.º 8
0
 protected override void ScrollingToVisibleEventHandler(object sender, ElementActionEventArgs arg) => BugReportingContextService.AddStep($"Scroll to visible {arg.Element.ElementName}".AddDynamicTestCasesUsingLocatorsMessage(arg));
Ejemplo n.º 9
0
 protected override void UploadingEventHandler(object sender, ComponentActionEventArgs arg) => BugReportingContextService.AddStep($"I upload '{arg.ActionValue}' for {arg.Element.ComponentName}".AddDynamicTestCasesUsingLocatorsMessage(arg));
Ejemplo n.º 10
0
 public BugReportingPlugin(IBugReportingService bugReportingService, BugReportingContextService bugReportingContextService)
 {
     _bugReportingService        = bugReportingService;
     _bugReportingContextService = bugReportingContextService;
     _filesToBeAttached          = new List <string>();
 }
Ejemplo n.º 11
0
 protected override void UncheckingEventHandler(object sender, ComponentActionEventArgs arg) => BugReportingContextService.AddStep($"Uncheck {arg.Element.ComponentName} on {arg.Element.PageName}");
 protected override void SettingTextEventHandler(object sender, ComponentActionEventArgs <AndroidElement> arg) => BugReportingContextService.AddStep($"Type '{arg.ActionValue}' into {arg.Element.ComponentName} on {arg.Element.PageName}");
 protected override void SettingDateEventHandler(object sender, ElementActionEventArgs arg) => BugReportingContextService.AddStep($"Set '{arg.ActionValue}' into {arg.Element.ElementName} on {arg.Element.PageName}");
Ejemplo n.º 14
0
 protected override void FocusingEventHandler(object sender, ElementActionEventArgs arg) => BugReportingContextService.AddStep($"Focus {arg.Element.ElementName} on {arg.Element.PageName}");
Ejemplo n.º 15
0
 protected override void ScrollingToVisibleEventHandler(object sender, ElementActionEventArgs arg) => BugReportingContextService.AddStep($"Scroll to visible {arg.Element.ElementName} on {arg.Element.PageName}");