Exemplo n.º 1
0
 protected override void SettingNumberEventHandler(object sender, ElementActionEventArgs arg) => DynamicTestCasesService.AddStep($"Set '{arg.ActionValue}' into {arg.Element.ElementName}".AddDynamicTestCasesUsingLocatorsMessage(arg));
 protected override void SettingPercentageEventHandler(object sender, ElementActionEventArgs <IOSElement> arg) => DynamicTestCasesService.AddStep($"Set {arg.Element.ElementName} to '{arg.ActionValue}'% on {arg.Element.PageName}");
 protected override void TurningOffEventHandler(object sender, ComponentActionEventArgs <AndroidElement> arg) => DynamicTestCasesService.AddStep($"Turn off {arg.Element.ComponentName} on {arg.Element.PageName}");
Exemplo n.º 4
0
 protected override void SelectingEventHandler(object sender, ElementActionEventArgs arg) => DynamicTestCasesService.AddStep($"Select '{arg.ActionValue}' from {arg.Element.ElementName} on {arg.Element.PageName}");
Exemplo n.º 5
0
 protected override void SettingTextEventHandler(object sender, ElementActionEventArgs <IOSElement> arg) => DynamicTestCasesService.AddStep($"Type '{arg.ActionValue}' into {arg.Element.ElementName} on {arg.Element.PageName}");
 protected override void FocusingEventHandler(object sender, ElementActionEventArgs arg) => DynamicTestCasesService.AddStep($"Focus {arg.Element.ElementName} on {arg.Element.PageName}");
 protected override void UncheckingEventHandler(object sender, ElementActionEventArgs <AndroidElement> arg) => DynamicTestCasesService.AddStep($"Uncheck {arg.Element.ElementName} on {arg.Element.PageName}");
Exemplo n.º 8
0
 protected override void SelectingEventHandler(object sender, ComponentActionEventArgs arg) => DynamicTestCasesService.AddStep($"Select '{arg.ActionValue}' from {arg.Element.ComponentName}".AddDynamicTestCasesUsingLocatorsMessage(arg));
 protected override void ScrollingToVisibleEventHandler(object sender, ElementActionEventArgs arg) => DynamicTestCasesService.AddStep($"Scroll to visible {arg.Element.ElementName} on {arg.Element.PageName}");
Exemplo n.º 10
0
 protected override void CheckingEventHandler(object sender, ComponentActionEventArgs arg) => DynamicTestCasesService.AddStep($"Check {arg.Element.ComponentName} on {arg.Element.PageName}");
Exemplo n.º 11
0
 protected override void ScrollingToVisibleEventHandler(object sender, ComponentActionEventArgs arg) => DynamicTestCasesService.AddStep($"Scroll to visible {arg.Element.ComponentName}".AddDynamicTestCasesUsingLocatorsMessage(arg));
Exemplo n.º 12
0
 protected override void UncheckingEventHandler(object sender, ElementActionEventArgs arg) => DynamicTestCasesService.AddStep($"Uncheck {arg.Element.ElementName}".AddDynamicTestCasesUsingLocatorsMessage(arg));
 protected override void SettingPasswordEventHandler(object sender, ComponentActionEventArgs arg) => DynamicTestCasesService.AddStep($"Type '{arg.ActionValue}' into {arg.Element.ComponentName} on {arg.Element.PageName}");
Exemplo n.º 14
0
 public DynamicTestCasesPlugin(ITestCaseManagementService testCaseManagementService, DynamicTestCasesService dynamicTestCasesService)
 {
     _testCaseManagementService = testCaseManagementService;
     _dynamicTestCasesService   = dynamicTestCasesService;
 }
 protected override void UploadingEventHandler(object sender, ElementActionEventArgs arg) => DynamicTestCasesService.AddStep($"I upload '{arg.ActionValue}' for {arg.Element.ElementName}".AddDynamicTestCasesUsingLocatorsMessage(arg));
 protected override void TurningOnEventHandler(object sender, ElementActionEventArgs <IOSElement> arg) => DynamicTestCasesService.AddStep($"Turn on {arg.Element.ElementName} on {arg.Element.PageName}");