activities
latest
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

工作流活动

上次更新日期 2026年3月25日

GetTestDataQueueItem

从指定的测试数据队列中提取数据行。

定义

命名空间: UiPath.Testing.API

程序集: UiPath.Testing.Activities.Api(在 UiPath.Testing.Activities.Api.dll 中)

重载

GetTestDataQueueItem(String)从指定的测试数据队列中提取数据行。
GetTestDataQueueItem(String, String)从某个 Orchestrator 文件夹中的指定测试数据队列中提取数据行。
GetTestDataQueueItem(String, String, Boolean, Int32)从特定 Orchestrator 文件夹中的指定测试数据队列中提取数据行,并将该项目标记为已使用。

GetTestDataQueueItem(String)

从指定的测试数据队列中提取数据行。

Dictionary<string, Object> GetTestDataQueueItem(
    string queueName
)
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.

队列中的下一个测试数据项目。

GetTestDataQueueItem(String, String)

从某个 Orchestrator 文件夹中的指定测试数据队列中提取数据行。

Dictionary<string, Object> GetTestDataQueueItem(
    string queueName,
    string folderPath
)
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 : 指定测试数据队列所在文件夹的路径(如果与运行流程的文件夹不同)。此字段仅支持字符串值,并使用/作为分隔符来表示子文件夹。例如"Testing/Automated Testing"

GetTestDataQueueItem(String, String, Boolean, Int32)

从特定 Orchestrator 文件夹中的指定测试数据队列中提取数据行,并将该项目标记为已使用。

Dictionary<string, Object> GetTestDataQueueItem(
    string queueName,
    string folderPath,
    bool markConsumed,
    int timeoutMs
)
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 : 指定测试数据队列所在文件夹的路径(如果与运行流程的文件夹不同)。此字段仅支持字符串值,并使用/作为分隔符来表示子文件夹。例如"Testing/Automated Testing"

markConsumed Boolean :选择是否将测试数据队列项目标记为“已消耗” ,并将其从将来的测试数据队列运行中排除。

timeoutMs Int32 :指定等待时间(以毫秒为单位),如果超出该时间后活动并未运行,系统便会抛出错误。默认值为 30000 毫秒(30 秒)。

返回值

队列中的下一个测试数据项目。

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新