...
Example:
AcceptDialogAndStoreMessage "AlertMessage"
...
ValidateSyntaxInFile
This action validates the data given in the specified JSON or XML file.
...
Parameter Name | Parameter Description | Mandatory | Data Types |
---|---|---|---|
FilePath | Enter the absolute path to the JSON/XML file on which you want to validate the data. | Yes | String |
Example:
ValidateSyntaxinFile ValidateSyntaxInFile "C:\Users\Qualitia\Cust_Details.json"
...
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
FilePath | Enter the absolute file path to the JSON file where you want to add the node. | Yes | String |
JSONPath | Enter the JSON path where you want to add the new node. Use $ if you want to add the node at root level. | Yes | String |
JSONValue | Enter the value to be added for the JSONValue key. | Yes | String |
JSONValueType | Specify the data type of the value being added. Value type can be Boolean or Numeric. Keep the value type blank if the data type is JSONObject, JSONArray, or String. | No | String |
Example:
Updating single value:
...