UserView based scripts can be created (recorded) only by using a web or desktop version of EveryStep Scripting Tool. However, you can edit a script in a UserView Task or create a new UserView Task by uploading an EveryStep (ES) script that was recorded in the desktop or web version of the tool.
UserView Task JSON Sample
Fields Description
To Create a UserView Task or Edit a UserView Task use the parameters provided in this section.
Field | Type | Required/Optional | Description | |
Timeout |
int32 |
optional |
Contains task execution timeout in ms. | |
base64dmuv | string | required | Contains ES script in the Base64 format.
Use the field in EDIT and CREATE operations to upload an EveryStep script previously recorded with ES Scripting Tool and converted to BASE64. |
|
Device_Id |
int32 |
required |
The unique device id.
Example:
|
|
Id |
int32 |
required *Only for edit operations |
The unique task id. | |
Task_Type_Id |
int32 |
required |
The type of the task. | |
Name |
string |
optional |
The task description. | |
RequireRepeatVisit |
boolean |
optional |
Defines the state of the Simulate Return Visitor flag. POSSIBLE VALUES:
|
|
WriteVideoOnEachMonitoring |
boolean |
optional |
Defines the state of the Record Video on Each Run option.
POSSIBLE VALUES:
|
|
DisableHttpProxy |
boolean |
optional |
Allows to activate the proxy to send monitoring requests through a proxy or switch back to direct requests. | |
DisableVideoRecording |
boolean |
optional |
Allows to disable the video recording feature. | |
DisableScreenshots |
boolean |
optional |
Allows to disable the screenshots feature. | |
AbortOnError |
boolean |
optional |
Indicates if the Abort Script on First Error option is activated.
POSSIBLE VALUES:
|
|
DNSResolveMode |
boolean |
optional |
POSSIBLE VALUES:
For detailed explanation, see the DNS Mode Option article. |
|
DNSserverIP |
string |
0ptional |
The field for a custom DNS server IP address. For detailed explanation, see the DNS Mode Option article. | |
CustomDNSHosts |
string |
optional |
Contains the list of IP address – host name pairs that are used to set up mapping of IP addresses to host names. |
Read-Only Fields Description
Please refer to the description of the UserView Task object fields provided below for INFORMATIONAL PURPOSES ONLY. The described fields are read-only and can’t be modified.
Field | Type | Required/Optional | Description | |
Script |
string |
optional |
Contains recorded EveryStep script. | |
Task_Nbr |
int32 |
optional |
Contains the number of steps recorded in the script. | |
ImageList |
string |
optional |
Contains encoded picture data that is used for Image Validation. | |
BrowserEngine |
string |
optional |
Defines which engine is emulated during monitoring.
POSSIBLE VALUES: “Chrome”, “Edge”, “Firefox”. Example:
|
|
IsRIA | boolean |
optional |
Defines if RIA validation is used in the script.
POSSUBLE VALUES:
|
|
Parameters
|
string | optional | Contains a list of context parameters. | |
ErrorFilter
|
array of objects | optional | Contains a list of filtered elements. |