Question

1
Replies
868
Views
Close popover
Harshil Patel (HarshilP1431)
KPMG LLP

KPMG LLP
US
HarshilP1431 Member since 2017 8 posts
KPMG LLP
Posted: April 27, 2018
Last activity: April 30, 2018
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,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.