Skip to content

Commit 3f09ae0

Browse files
authored
Merge pull request #21 from g4-api/development
Development
2 parents 55f5afa + cd9528a commit 3f09ae0

14 files changed

Lines changed: 953 additions & 99 deletions

File tree

src/G4.DocumentsGenerator/G4.DocumentsGenerator.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
<NoWarn>$(NoWarn);SYSLIB1045</NoWarn>
1616
</PropertyGroup>
1717

18-
<ItemGroup> <PackageReference Include="G4.Abstraction.Cli" Version="2025.2.7.15" />
19-
<PackageReference Include="G4.Converters" Version="2025.2.18.33" />
18+
<ItemGroup> <PackageReference Include="G4.Abstraction.Cli" Version="2025.3.7.16" />
19+
<PackageReference Include="G4.Converters" Version="2025.3.7.34" />
2020
</ItemGroup>
2121

2222
<ItemGroup>

src/G4.IntegrationTests/G4.IntegrationTests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333

3434
<ItemGroup>
3535
<PackageReference Include="G4.Api" Version="2025.3.5.31" />
36-
<PackageReference Include="G4.Plugins" Version="2025.2.18.33" />
37-
<PackageReference Include="G4.Converters" Version="2025.2.18.33" />
36+
<PackageReference Include="G4.Plugins" Version="2025.3.7.34" />
37+
<PackageReference Include="G4.Converters" Version="2025.3.7.34" />
3838
<PackageReference Include="Microsoft.AspNetCore.MiddlewareAnalysis" Version="8.0.10" PrivateAssets="all" />
3939
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
4040
<PackageReference Include="MSTest.TestAdapter" Version="3.8.2" />

src/G4.ManifestValidator/G4.ManifestValidator.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</PropertyGroup>
1717

1818
<ItemGroup>
19-
<PackageReference Include="G4.Attributes" Version="2025.2.18.33" />
19+
<PackageReference Include="G4.Attributes" Version="2025.3.7.34" />
2020
</ItemGroup>
2121

2222
</Project>

src/G4.Plugins.Common/G4.Plugins.Common.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
</PropertyGroup>
2626

2727
<ItemGroup>
28-
<PackageReference Include="G4.Converters" Version="2025.2.18.33" />
29-
<PackageReference Include="G4.Extensions" Version="2025.2.18.33" />
30-
<PackageReference Include="G4.Plugins" Version="2025.2.18.33" />
28+
<PackageReference Include="G4.Converters" Version="2025.3.7.34" />
29+
<PackageReference Include="G4.Extensions" Version="2025.3.7.34" />
30+
<PackageReference Include="G4.Plugins" Version="2025.3.7.34" />
3131
</ItemGroup>
3232

3333
<ItemGroup>

src/G4.Plugins.Ui/Actions.Manifests/SendKeyboardKey.json

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@
99
"categories": [
1010
"WebDriver"
1111
],
12+
"context": {
13+
"integration": {
14+
"sequentialWorkflow": {
15+
"$type": "Action",
16+
"componentType": "task",
17+
"iconProvider": "keyboard",
18+
"model": "ActionRuleModel"
19+
}
20+
}
21+
},
1222
"description": [
1323
"### Purpose",
1424
"",
@@ -37,48 +47,38 @@
3747
"| Comprehensive Test Scenarios | In automation testing scenarios for applications, the `SendKeyboardKey` plugin is invaluable. It allows scripts to dynamically control keyboard inputs, leading to more comprehensive test coverage, especially in scenarios involving input fields. |",
3848
"| Ensuring UI Stability | Post-user interactions, such as entering text into input fields, the plugin ensures that the UI remains stable for subsequent validations. This is crucial for accurately assessing the impact of keyboard inputs on the application's state. |"
3949
],
40-
"context": {
41-
"integration": {
42-
"sequentialWorkflow": {
43-
"$type": "Action",
44-
"componentType": "task",
45-
"iconProvider": "keyboard",
46-
"model": "ActionRuleModel"
47-
}
48-
}
49-
},
5050
"examples": [
5151
{
5252
"description": [
5353
"Simulate pressing the `Enter` key on the HTML element identified by the CSS selector `#KeyboardKeyOutcome`."
5454
],
5555
"rule": {
56-
"Argument": "Enter",
57-
"Locator": "CssSelector",
58-
"OnElement": "#KeyboardKeyOutcome",
59-
"PluginName": "SendKeyboardKey"
56+
"argument": "Enter",
57+
"locator": "CssSelector",
58+
"onElement": "#KeyboardKeyOutcome",
59+
"pluginName": "SendKeyboardKey"
6060
}
6161
},
6262
{
6363
"description": [
6464
"Simulate pressing the `Enter` key on the HTML element identified by the CSS selector `#KeyboardKeyOutcome`."
6565
],
6666
"rule": {
67-
"Argument": "{{$ --Key:Enter}}",
68-
"Locator": "CssSelector",
69-
"OnElement": "#KeyboardKeyOutcome",
70-
"PluginName": "SendKeyboardKey"
67+
"argument": "{{$ --Key:Enter}}",
68+
"locator": "CssSelector",
69+
"onElement": "#KeyboardKeyOutcome",
70+
"pluginName": "SendKeyboardKey"
7171
}
7272
},
7373
{
7474
"description": [
7575
"Simulate pressing the `Enter` key followed by the `Backspace` key on the HTML element identified by the CSS selector `#KeyboardKeyOutcome`."
7676
],
7777
"rule": {
78-
"Argument": "{{$ --Key:Enter --Key:Backspace}}",
79-
"Locator": "CssSelector",
80-
"OnElement": "#KeyboardKeyOutcome",
81-
"PluginName": "SendKeyboardKey"
78+
"argument": "{{$ --Key:Enter --Key:Backspace}}",
79+
"locator": "CssSelector",
80+
"onElement": "#KeyboardKeyOutcome",
81+
"pluginName": "SendKeyboardKey"
8282
}
8383
},
8484
{
@@ -87,10 +87,10 @@
8787
"This simulated keyboard input is targeted at the HTML element identified by the CSS selector `#KeyboardKeyOutcome` on a web page."
8888
],
8989
"rule": {
90-
"Argument": "{{$ --Key:Enter --Key:Backspace --Delay:4000}}",
91-
"Locator": "CssSelector",
92-
"OnElement": "#KeyboardKeyOutcome",
93-
"PluginName": "SendKeyboardKey"
90+
"argument": "{{$ --Key:Enter --Key:Backspace --Delay:4000}}",
91+
"locator": "CssSelector",
92+
"onElement": "#KeyboardKeyOutcome",
93+
"pluginName": "SendKeyboardKey"
9494
}
9595
},
9696
{
@@ -99,32 +99,32 @@
9999
"This simulated keyboard input is targeted at the HTML element identified by the CSS selector `#KeyboardKeyOutcome` on a web page."
100100
],
101101
"rule": {
102-
"Argument": "{{$ --Key:Enter --Key:Backspace --Delay:00:00:04}}",
103-
"Locator": "CssSelector",
104-
"OnElement": "#KeyboardKeyOutcome",
105-
"PluginName": "SendKeyboardKey"
102+
"argument": "{{$ --Key:Enter --Key:Backspace --Delay:00:00:04}}",
103+
"locator": "CssSelector",
104+
"onElement": "#KeyboardKeyOutcome",
105+
"pluginName": "SendKeyboardKey"
106106
}
107107
},
108108
{
109109
"description": [
110110
"First clear the content of the input element identified by the CSS selector `#KeyboardKeyOutcome` and then simulate pressing the `Enter` key."
111111
],
112112
"rule": {
113-
"Argument": "{{$ --Key:Enter --Clear}}",
114-
"Locator": "CssSelector",
115-
"OnElement": "#KeyboardKeyOutcome",
116-
"PluginName": "SendKeyboardKey"
113+
"argument": "{{$ --Key:Enter --Clear}}",
114+
"locator": "CssSelector",
115+
"onElement": "#KeyboardKeyOutcome",
116+
"pluginName": "SendKeyboardKey"
117117
}
118118
},
119119
{
120120
"description": [
121121
"First clear the content of the input element identified by the CSS selector `#KeyboardKeyOutcome` using `NativeClear` functionality and then simulate pressing the `Enter` key."
122122
],
123123
"rule": {
124-
"Argument": "{{$ --Key:Enter --NativeClear}}",
125-
"Locator": "CssSelector",
126-
"OnElement": "#KeyboardKeyOutcome",
127-
"PluginName": "SendKeyboardKey"
124+
"argument": "{{$ --Key:Enter --NativeClear}}",
125+
"locator": "CssSelector",
126+
"onElement": "#KeyboardKeyOutcome",
127+
"pluginName": "SendKeyboardKey"
128128
}
129129
}
130130
],
@@ -176,7 +176,7 @@
176176
"It allows you to define a sequence of keyboard interactions, including the keys to be pressed and any additional actions."
177177
],
178178
"mandatory": true,
179-
"name": "Argument",
179+
"name": "argument",
180180
"type": "String"
181181
},
182182
{
@@ -185,7 +185,7 @@
185185
"Specifies the strategy or method used to locate the element on which the keyboard actions will be simulated during automation."
186186
],
187187
"mandatory": false,
188-
"name": "Locator",
188+
"name": "locator",
189189
"type": "String"
190190
},
191191
{
@@ -194,7 +194,7 @@
194194
"It indicates the target element where the simulated keyboard interactions should take place."
195195
],
196196
"mandatory": true,
197-
"name": "OnElement",
197+
"name": "onElement",
198198
"type": "String"
199199
}
200200
],

src/G4.Plugins.Ui/Actions.Manifests/SendKeys.json

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -53,76 +53,76 @@
5353
"Send the text `Hello World` to the HTML element identified by the CSS selector `#TextInput`."
5454
],
5555
"rule": {
56-
"Argument": "Hello World",
57-
"Locator": "CssSelector",
58-
"OnElement": "#TextInput",
59-
"PluginName": "SendKeys"
56+
"argument": "Hello World",
57+
"locator": "CssSelector",
58+
"onElement": "#TextInput",
59+
"pluginName": "SendKeys"
6060
}
6161
},
6262
{
6363
"description": [
6464
"Send the text `Hello World` to the HTML element identified by the CSS selector `#TextInput` using a parameterized argument."
6565
],
6666
"rule": {
67-
"Argument": "{{$ --Keys:Hello World}}",
68-
"Locator": "CssSelector",
69-
"OnElement": "#TextInput",
70-
"PluginName": "SendKeys"
67+
"argument": "{{$ --Keys:Hello World}}",
68+
"locator": "CssSelector",
69+
"onElement": "#TextInput",
70+
"pluginName": "SendKeys"
7171
}
7272
},
7373
{
7474
"description": [
7575
"First clear the content of the input element identified by the CSS selector `#TextInput` and then send the text `Hello World`."
7676
],
7777
"rule": {
78-
"Argument": "{{$ --Keys:Hello World --Clear}}",
79-
"Locator": "CssSelector",
80-
"OnElement": "#TextInput",
81-
"PluginName": "SendKeys"
78+
"argument": "{{$ --Keys:Hello World --Clear}}",
79+
"locator": "CssSelector",
80+
"onElement": "#TextInput",
81+
"pluginName": "SendKeys"
8282
}
8383
},
8484
{
8585
"description": [
8686
"First clear the content of the input element identified by the CSS selector `#TextInput` using `NativeClear` functionality and then send the text `Hello World`."
8787
],
8888
"rule": {
89-
"Argument": "{{$ --Keys:Hello World --NativeClear}}",
90-
"Locator": "CssSelector",
91-
"OnElement": "#TextInput",
92-
"PluginName": "SendKeys"
89+
"argument": "{{$ --Keys:Hello World --NativeClear}}",
90+
"locator": "CssSelector",
91+
"onElement": "#TextInput",
92+
"pluginName": "SendKeys"
9393
}
9494
},
9595
{
9696
"description": [
9797
"Send the text `Hello World` to the HTML element identified by the CSS selector `#TextInput` with a delay of 2000 milliseconds between each character."
9898
],
9999
"rule": {
100-
"Argument": "{{$ --Keys:Hello World --Delay:2000}}",
101-
"Locator": "CssSelector",
102-
"OnElement": "#TextInput",
103-
"PluginName": "SendKeys"
100+
"argument": "{{$ --Keys:Hello World --Delay:2000}}",
101+
"locator": "CssSelector",
102+
"onElement": "#TextInput",
103+
"pluginName": "SendKeys"
104104
}
105105
},
106106
{
107107
"description": [
108108
"Send the text `Hello` while holding down the `Shift` key to the HTML element identified by the CSS selector `#TextInput`. This will send the text `Hello` with the `Shift` key pressed, resulting in `HELLO` being typed."
109109
],
110110
"rule": {
111-
"Argument": "{{$ --Keys:Hello --Modifier:Shift}}",
112-
"Locator": "CssSelector",
113-
"OnElement": "#TextInput",
114-
"PluginName": "SendKeys"
111+
"argument": "{{$ --Keys:Hello --Modifier:Shift}}",
112+
"locator": "CssSelector",
113+
"onElement": "#TextInput",
114+
"pluginName": "SendKeys"
115115
}
116116
},
117117
{
118118
"description": [
119119
"Send the text `Hello` while holding down both the `Ctrl` and `Alt` keys to the HTML element identified by the CSS selector `#TextInput`. This demonstrates sending text with multiple modifier keys pressed simultaneously."
120120
],
121121
"rule": {
122-
"Argument": "{{$ --Keys:Hello --Modifier:Ctrl --Modifier:Alt}}",
123-
"Locator": "CssSelector",
124-
"OnElement": "#TextInput",
125-
"PluginName": "SendKeys"
122+
"argument": "{{$ --Keys:Hello --Modifier:Ctrl --Modifier:Alt}}",
123+
"locator": "CssSelector",
124+
"onElement": "#TextInput",
125+
"pluginName": "SendKeys"
126126
}
127127
}
128128
],
@@ -183,7 +183,7 @@
183183
"It allows you to define a sequence of text interactions, including the text to be entered and any additional actions."
184184
],
185185
"mandatory": true,
186-
"name": "Argument",
186+
"name": "argument",
187187
"type": "String|Expression"
188188
},
189189
{
@@ -192,7 +192,7 @@
192192
"Specifies the strategy or method used to locate the element on which the text inputs will be simulated during automation."
193193
],
194194
"mandatory": false,
195-
"name": "Locator",
195+
"name": "locator",
196196
"type": "String"
197197
},
198198
{
@@ -201,7 +201,7 @@
201201
"It indicates the target element where the simulated text interactions should take place."
202202
],
203203
"mandatory": true,
204-
"name": "OnElement",
204+
"name": "onElement",
205205
"type": "String"
206206
}
207207
],

0 commit comments

Comments
 (0)