I’ve extracted a DT from a browser table and saved column 1 row values (column 1 in red box below). Using a for each row in DT I am struggling on how to type in the corresponding row in column 5 (green box). For example column 1 row 1 = dog, I’d like to enter a value in column 5 row 1. If column 1 row 4 = cat, I’d like to enter a particular variable value into column 5 row 4. The selectors are producing multiple tableRow elements which might be where it is going wrong too. I’ve tried to add a variable of rowIndex which is idx+2 but it doesn’t seem to be able to find the correct row dynamically.
It seems table in table. So the first tableRow is for the outer table, but second tableRow is for inner table. Maybe it’s unnecessary to use dynamic selector either of the 2 tableRow attributes.
Can you try to check the html structure in details.
Thanks, not too sure how to tackle this one without a dynamic selector though as the row to be edited in the for each row loop needs to only apply to the one row passed as a variable (eg for each row that equals cat update column 5). Any ideas pls?
Thanks for this, next issue I’m facing is the for each UI element is producing an error “target element must be set”. I’ve added the activity within the use application/browser activity and it would appear that the Ui Elements were added successfully.
Yeah sure. Getting this error once I hit save and close after using the For each UI Element wizard. I’ve tried to select the whole table and also just column 5 too:
Now upgraded to the latest version of Studio but still appears to be producing the error of “Target Element must be set” even though the data is showing when I hit preview after running the wizard.