After receiving some great assistance here, I have another question. On a screen, there are multiple rows of clickable links with the same name. I need to click on the last row and determine if it's the correct one. If not, I have to backtrack and select the 2nd to last row, then the 3rd to last row, and so on until I find what I'm looking for or run out of rows.
Every row has the same name except for the number after "TaskRow." Is there any way to differentiate them?
Here is an example of a row:
<a href="javascript:void(0)" role="button" dojoattachpoint="subject" dir="ltr" aria-labelledby="taskrowsubjectcom_ibm_bpm_social_widgets_task_list_TaskRow_19" title="Click to work on the task">Request Full Quotes from Supplier: Supplier One</a>
Before this row, there is some code that looks like this:
<div id="dueToday" class="bpm-task-list-category dijitTitlePane" title="" role="group" widgetid="dueToday" aria-label="Due Today (2)" style="display: block;">
...
...
...
...
...
...
...
...
...
...
...
<a href="javascript:void(0)" role="button" dojoattachpoint="subject" dir="ltr" aria-labelledby="taskrowsubjectcom_ibm_bpm_social_widgets_task_list_TaskRow_1" title="Click to work on the task">Request Full Quotes from Supplier: Supplier One</a>
...
...
...
...
Any suggestions would be greatly appreciated!
Thank you, Greg