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