Question

1
Replies
806
Views
HarshilP1431 Member since 2017 8 posts
KPMG LLP
Posted: 2 years ago
Last activity: 2 years 4 months ago
Closed

Clone Collection iteration

Hello

I am curious to see the options available to me with respects to clones.

I am using the GetClones() method in order to interogate several identical items on a page which correspond to objects. The Getclones method works and returns a CloneCollection.

My question is related to iterating this collection.

Is the only way to iterate using a for loop - Meaning the ENTIRE collection would have to be iterated through?

Or is there a way i can index a specific value ie. if my CloneCollection is 10 items long, can i index item 5 without having to use a for loop and iterate 0 to 4?

Thankyou in advance.

Robotic Process Automation
Moderation Team has archived post
Share this page LinkedIn