I’m trying to selecting several items on the filter in the excel pivot table.
I can change one item on the filter by typing in “the text” to pick up the item using UI element. However, it doesn’t work when I try to select mulptiple items on the filter.
Alternatively, when I try to select the items on the filter, I’m faced with the issue that UiPath doesn’t recognise the check mark (small square) on the left side of the item in the filter, and then UiPath replied with the error messsage like
“Unable to get the data on the element selector
Reason : Error HRESULT E_FAIL was returned from COM component”
I highly appreicate if you give me the help on this topic !
Click on the filter drop-down arrow on the Pivot Table.
Type in the first item you want to select in the search box, and press Enter.
Hold down the Ctrl key on your keyboard, and click on the check mark (small square) on the left side of each additional item you want to select.
Once you have selected all the desired items, click the OK button to apply the filter.
If UiPath StudioX still doesn’t recognize the check mark on the left side of the items in the filter, you may need to use a different selector or activity to select the items. You can try using the Click activity with a relative selector or anchor base, or the Select Item activity with a dynamic selector that includes the item text. You can also check if there are any Excel Add-ins or settings that may be causing the issue, and try disabling or adjusting them as needed.
Thank you for the support !
Thanks to your assistance and advice, I have found what I want to do works fine with the repetitive cycle in the following.
Use Click activity and recognize arrorw icon of the filter by using normal UI element
Use Type into activity. Reconize “Search bar” in the filter by using normal UI element and Type “item’s name” we want to select in the search bar
Use Click activity and select “OK” button in normal UI element
— add items selected in the filter ----
Use Click activity and recognize filter icon (former arrow icon) of the filter by using normal UI element
Use Type into activity. Recognize “Search bar” in the filter by using normal UI element and Type “item name” we want to select in the search bar
Use Click activity and press “F3” button to use image region recognition and circle “small square” of “add the current selected item on the existing filter”.
Use Click activity and select “OK” button in normal UI element.
---- If we want to add more items in the filter, repeat 4 to 7 in the above.