
How to get count of UI element present with same path?
When I enter search text on a web page and the results are provided then I want to get the total count of search result and run a loop to select all of them.
Problem is that when I inspect the search results then the results count changes when scrolled. How do I get the dynamic count of search results and select them when the UI element path is same?
Hi @Ernst3108
You can use extract data from webpage to extract the search results in tabular format, then use RowsCount function on datatable to get the count on total search results, Also to loop through each search results, you can extract its link via extract data from webpage action itself so that using loop, you can go through each. That would helps !
Refer this video to get an idea 🙂
https://youtu.be/QllyIdxm4H0?feature=shared
Nived N 🚀
LinkedIn: Nived N's LinkedIn
YouTube: Nived N's YouTube Channel
🔍 Found my answer helpful? Please consider marking it as the solution!
Your appreciation keeps me motivated. Thank you! 🙌