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 it helps you out and if my solution resolves your query, then please mark it as the best answer
Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Technical Business Analyst,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com
----------------------------------