I am stuck at the below scenario and need help.
I am trying to fetch details of an Assignment raised for an employee thru a web page. Employee can have multiple Assignments and each Assignment has a unique ID.
Assignment ID is obtained by using another process and I have called it in my current process to access the Assignment ID to a variable.
In the current process I am working on, I should click the exact fetched Assignment ID in the web page. It can be anywhere in the web page as there can be a possibility of multiple assignments.
Now the problem is I cannot specify the selector. All Assignment ID’s have the same class name it is an href element. I cannot specify any selection index as well since it can come in any order. Only difference in the assignment ID that appears after the href link. (You can see in the screenshot)
So how can i specify a selector that help me exactly click the assignmentID as per the value contained in my variable.
Please find screenshots attached as well.
Thanks in advance.