Hello All,
I am new to UIPath. I am working on UI Automation. I want to check if my application has loaded data. Even to check if there are atleast 3 rows populated in the data grid.
I was using something like
ctrl role=‘table’
ctrl role=‘row’ idx=‘123’
But the above selector selects one particular row. If that row is not in the data load, it fails. I am aiming to just check if there is something in the second row for example.
Could you please advise?
Hello,
thanks for answering. There is no common image or text that appears in the rows that load in the application. Hence, I am not able to select any element.
When I select an element, it searches for that text, probably in the second time I run the checks, that particular row is not there, so it fails.
Also, when the application is loading data, one loading icon appears, but sometimes even when it finishes, the application does not return any data- it should show fail.
So, I need to configure it to see if some data appeared in the grid, it marks as complete else failed
You need to pick any of the below which is reliable,
Wait for loading icon to disappear to proceed to next automation step
Pick a very reliable element on which you can completely depend on to check the page load may be table headers or table title or table row count or page count whichever is available for you.
Hello,
Thanks for your reply. But unfortunately there is no common element that appears once the load is finished. The headers are static and they even appear before the application starts loading data, as there is sometimes 0 rows returned as well.
But I need to check if there is atleast one row returned.