|
35 | 35 | "| Environment Handling | Allows specifying different environments where the parameters are managed. |", |
36 | 36 | "| Regular Expression Matching | Can apply a regular expression to the value and encode the result in Base64. |", |
37 | 37 | "| Meta Action | Converts user input into the appropriate `SetParameter` plugin rule and sends it. |", |
| 38 | + "| Encryption Support | Optionally encrypts the parameter value using the provided EncryptionKey. |", |
38 | 39 | "", |
39 | 40 | "### Usages in RPA", |
40 | 41 | "", |
|
46 | 47 | "", |
47 | 48 | "### Usages in Automation Testing", |
48 | 49 | "", |
49 | | - "| Usage | Description |", |
50 | | - "|---------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|", |
51 | | - "| Test Data Management | Use the `RegisterParameter` plugin to manage test data by registering values to different scopes. |", |
52 | | - "| Environment Configuration | Facilitate the setup of test environments by registering configuration parameters to the required locations. |", |
53 | | - "| Dynamic Test Execution | Enable dynamic test execution by registering runtime parameters that are needed for various test scenarios, ensuring tests are executed with the correct data.|" |
| 50 | + "| Usage | Description |", |
| 51 | + "|---------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|", |
| 52 | + "| Test Data Management | Use the `RegisterParameter` plugin to manage test data by registering values to different scopes. |", |
| 53 | + "| Environment Configuration | Facilitate the setup of test environments by registering configuration parameters to the required locations. |", |
| 54 | + "| Dynamic Test Execution | Enable dynamic test execution by registering runtime parameters that are needed for various test scenarios, ensuring tests are executed with the correct data. |" |
54 | 55 | ], |
55 | 56 | "examples": [ |
56 | 57 | { |
|
117 | 118 | "pluginName": "RegisterParameter", |
118 | 119 | "regularExpression": "\\d+" |
119 | 120 | } |
| 121 | + }, |
| 122 | + { |
| 123 | + "description": [ |
| 124 | + "This configuration registers a parameter with an encryption key provided for encrypting the parameter value within the session scope." |
| 125 | + ], |
| 126 | + "rule": { |
| 127 | + "argument": "{{$ --Name:parameterName --Value:parameterValue --Scope:Session --EncryptionKey:myEncryptionKey}}", |
| 128 | + "pluginName": "RegisterParameter" |
| 129 | + } |
120 | 130 | } |
121 | 131 | ], |
122 | 132 | "key": "RegisterParameter", |
|
154 | 164 | "mandatory": false, |
155 | 165 | "name": "Value", |
156 | 166 | "type": "String" |
| 167 | + }, |
| 168 | + { |
| 169 | + "description": [ |
| 170 | + "Specifies the encryption key to be used to encrypt the parameter value." |
| 171 | + ], |
| 172 | + "mandatory": false, |
| 173 | + "name": "EncryptionKey", |
| 174 | + "type": "String" |
157 | 175 | } |
158 | 176 | ], |
159 | 177 | "pluginType": "Action", |
|
210 | 228 | "summary": [ |
211 | 229 | "The `RegisterParameter` plugin facilitates the registration and storage of parameters within automation scripts by saving values to a specified scope.", |
212 | 230 | "It converts user input into the appropriate `SetParameter` plugin rule and sends it, supporting parameter registration from direct input or web elements.", |
213 | | - "Key features include parameter registration, scope management, environment handling, regular expression matching, and meta action capabilities.", |
| 231 | + "Key features include parameter registration, scope management, environment handling, regular expression matching, meta action capabilities, and encryption support when an EncryptionKey is provided.", |
214 | 232 | "Common use cases include registering values from web elements, managing parameters across sessions or environments, and handling complex data with regular expressions in both RPA and automation testing scenarios." |
215 | 233 | ] |
216 | 234 | } |
0 commit comments