For each Ui Element Items Count

Hi,

I am using a “For each Ui Element” activity to scrape the tabular data from a website. I don’t want all the items from it but I need pre-defined number of Items from it.

Let me consider I have a config file where I can change the number of Items to scrape to 100 or 150 from it.

How can I get it.

Thanks in advance

Change the “Limit extraction to” to “Max UI elements” and change “Number of items” to the predefined number.

image

I am not getting the above mentioned Options as I am using “Legacy”.

i

How can I do it in the “Legacy”

According to the documentation, it should work in Windows Legacy projects too. So you might need to update your UiPath.UIAutomation.Activities package.

Source: Activities - For Each UI Element (uipath.com)

For each Ui Element is picking only a few items instead the web page has 25 Items in a single page.

can you please let me know How to extract the total 25 items ins a sequence.

This should be cause of all Ui elements not loaded. Use Mouse Scroll activity to scroll by some distance to load all the Ui Elements.

If data is in the tablular format why don’t you use the Extract Table activity that you can find on the toolbar tab under the Design section of UiPath.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.