Question
2
Replies
120
Views
Posted: April 15, 2019
Last activity: 2 weeks 4 days ago
Closed
Solved
Using Keys to switch between multiple cells in an HTML table.
I need to automate an HTML table in Chrome, and there is currently not a table designer to do so. Is it possible to use Keys/Clones to read the table and select the correct cell/button? I have not been able to find much information on using keys and every time I try to use one of the examples in the Help file I get the 'Expected Key to be set upstream for component:' error. Any help is appreciated.
***Edited by Moderator Marissa to update SR Details***
James,
It is indeed possible and preferred approach in chrome to use Clones to iterate through the HTML table.
Example of a list loop to go through clones of a control:
Note that clones are not returned in a set order. So, the table returned may not be in the same order as seen on the webpage. Make sure to account for that in your automation.