Question

5
Replies
2352
Views
JonathanB1027 Member since 2018 14 posts
Avanade
Posted: May 23, 2018
Last activity: May 30, 2018
Closed

Iterating Through Clones

I am writing an automation for a webpage where i search for a voucher ID, and download any attachments belonging to that ID. I have a control interrogated to match all the menu buttons of the attachments so that i can click on them and then click the download button one by one. However, when i click through the first download, it causes the page to refresh and the GetClones collection no longer seems to be matched for the second iteration of the loop. I keep getting the "Unable to find contextId for key: 00000000000" message between the GetClones method and the ListLoop.

There is no way to independently and dynamically match these menu buttons for every page, so iterating through the clones is the only way i can see of accomplishing this. Any ideas on how i can continue iterating through a collection from GetClones when the page refreshes after the first loop iteration? I have attached screenshots of the error and the process flow.

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