GetTestDataQueueItem
Extracts a DataRow from a specified TestDataQueue.
Definition
Namespace: UiPath.Testing.API
Assembly: UiPath.Testing.Activities.Api (in UiPath.Testing.Activities.Api.dll)
Overloads
GetTestDataQueueItem(String) | Extracts a DataRow from a specified TestDataQueue. |
GetTestDataQueueItem(String, String) | Extracts a DataRow from a specified TestDataQueue, from a certain Orchestrator folder. |
GetTestDataQueueItem(String, String, Boolean, Int32) | Extracts a DataRow from a specified TestDataQueue, from a certain Orchestrator folder, and marks the item as consumed. |
GetTestDataQueueItem(String)
Extracts a DataRow from a specified TestDataQueue.
Dictionary<string, Object> GetTestDataQueueItem(
string queueName
)
queueName String : The queue where the queue item is fetched from. The name is not case sensitive. For example, if you have defined your test data queue as TestDataQueue in Orchestrator, it matches testdataqueue.
The next test data item from the queue.
GetTestDataQueueItem(String, String)
Extracts a DataRow from a specified TestDataQueue, from a certain Orchestrator folder.
Dictionary<string, Object> GetTestDataQueueItem(
string queueName,
string folderPath
)
queueName String : The queue where the queue item is fetched from. The name is not case sensitive. For example, if you have defined your test data queue as TestDataQueue in Orchestrator, it matches testdataqueue.
folderPath String : The path of the folder where the specified test data queue is located, if different from the folder where the process is running. This field only supports string values, with / as the separator to indicate subfolders. For example "Testing/Automated Testing".
GetTestDataQueueItem(String, String, Boolean, Int32)
Extracts a DataRow from a specified TestDataQueue, from a certain Orchestrator folder, and marks the item as consumed.
Dictionary<string, Object> GetTestDataQueueItem(
string queueName,
string folderPath,
bool markConsumed,
int timeoutMs
)
queueName String : The queue where the queue item is fetched from. The name is not case sensitive. For example, if you have defined your test data queue as TestDataQueue in Orchestrator, it matches testdataqueue.
folderPath String : The path of the folder where the specified test data queue is located, if different from the folder where the process is running. This field only supports string values, with / as the separator to indicate subfolders. For example "Testing/Automated Testing".
markConsumed Boolean : Choose whether to mark the test data queue item as Consumed, excluding it from future test data queue runs.
timeoutMs Int32 : Specifies the amount of time (in milliseconds) to wait for the activity to run before an error is thrown. The default value is 30000 milliseconds (30 seconds).
Return value
The next test data item from the queue.