How can I cast IDictionary<String,Object> to UiPath.Core.QueueItem? Test queues

Hello there,

I am trying to generate a Data Driven Test within the REFramework (using a Test Queue). Thing is that when using Test Queue, the argument that this creates in the Test Case is of type IDictionary<String,Object> and the Process.xaml workflow only accepts UiPath.Core.QueueItem. How can I cast it to QueueItem?

Hi @aaguirrearanguren,

Instead of casting a Dictionary to a QueueItem, you can create a new QueueItem and assign the IDictionary to the SpecificContent of the QueueItem.

(Assign activity)
myQueueItem.SpecificContent = myIDictionary

Thanks

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.