Edit: Forgot to mention this is on A360 Cloud
I am curious if anyone has had to do something similar. I am working on a bot that at one point has to select a specific row in a table and then click a "Review" button. The table looks like this:
For each row, the App ID will be unique. I need to click on the row with a specific AppID, and then click the Review button for that particular row. Just curious if there is an easy way to do it.
I thought of using javascript to cycle through all rows, something like this:
var n1 = document.getElementById("AppTable").rows.length;
for(i=0;i<n1;i++) {
if(document.getElementById("AppTable").rows)i].cells.item(0).innerText = "AppIDXYZ"){
document.getElementById("AppTable").rows)i].cells.item(7).click();
}
}
But it is not working for me; I get the innerText but it states click is not a viable option for that control. Also this would be an issue if the item I want is on page 3 or 4 of the table, as the javascript only returns the items on the visible page. I am hoping there is an easier way to do this natively with AA.