Can someone help on this i am struggling with this activity

Hello team

i am working on test automation to fetch all the queue item in a go. I am trying to use the activity

Get Test Data Queue Items (Activities - Get Test Data Queue Items)

how do get the details from that the variable type is < List < TestDataQueueItem > >

check the above as reference

@Krishna_Raj its not a dic var its list of testdataqueueitem

@mint,

You can use For Each loop to loop through the list.

Other option if you are going to have only one item in the list then use yourVariable(0).property

Thanks,
Ashok :slight_smile:

@ashokkarale thanks id and is consumed property working fine but i looking to get the value that is there in queue i am not able to fetch can you please try and share

@mint,

currentTestDataQueueItem.Content("your KEy")

This will give you the data you are looking for.

Thanks,
Ashok :slight_smile:

@ashokkarale thanks this one worked do you have an idea how to make it iterate in test automation as format as if a break the loop it wont repeat (or i should use when then to be used within for each loop it self)

@mint,

Glad it was helpful. :slight_smile: Kindly mark the answer as solution to get this topic closed.

Regarding your additional query:

Using each loop would be good idea.

Thanks,
Ashok :slight_smile: