Hi Siddharth,
You can actually use a dynamic XPath function to get this thing sorted I believe. I will show you an example. Below I am using an XPath expression like:
(//td[text()='Software Engineer'])[last()]
So here if you see the
last()
function is going to return the last element where the TD tag that is recurring can have the text as 'Software Engineer'. Similarly, check which tag it is that has that text by inspecting the web element and replace the td tag in the above XPath expression with the tag that you get. This should solve your problem.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------If the answer resolves your query, please mark it as the Best Answer so that others can easily track the right answer.Regards,Devneet MohantyIntelligent Process Automation Consultant | Senior Consultant - Automation DeveloperWonderbotz India Pvt. Ltd.Blue Prism Community MVP | Blue Prism 7x Certified Professional----------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.