hello guys im having a difficulty and would appreciate if you could help me.
i have an excel file that includes day names such as monday, tuesday.
i also have an html page that has one dropdown consists of days of a week.
i need robot to read the data from excel file and select the same option from the dropdown in my html page.
for ex; if the data in the excel is wednesday, the robot is going to choose the wednesday option in dropdown and is going to submit.
Welcome to UIpath Community.
- use Read Range activity to read the data from Excel file and will give you output as dataTable and say it âDTâ.
- use For Each Row activity to iterate that DataTable.
- use Select Item activity to select item from drop down menu and pass value as: row(âColumnDayâ).Tostring
thank you for replying.
Iâm not having difficulty in getting data from excel but select item activity is not working properly. I mean when i click my combo box i get an error âthis control doesnt support selected itemâ. what can be the reason? if im not clear, i can share photos
That error means that the UI element isnât a dropdown box so you wonât be able to use the select item activity.
Use a click activity instead to click on the box to display the options. Then have a second click activity to click the item you need from the list
if you can see the picture my dropdown is the ui element that writes âcampylobacterâ. there are options like that. the page is local. can that be a logical reason?
Buddy @mtalhabalci
Once after clicking the dropdown button, does it take key inputs from keyboard, like if i type monday after clicking drop down button, is it going to mondayâŚso after that we can press enter so that monday will get selected
this can be done similarly in uipath like sendhotkeys and type into activity buddy
IS IT TAKING KEYS AFTER PRESSING THE DROPDOWN buddy
Cheers @mtalhabalci
im not sure if i got your question clearly. im gonna share two select item activities that one is working and the other is not. the dropdown of facebook is working where mine is not.
in facebooks example when i change the input value, the dropdowns value changes.
but in my dropdown i cant even get that small picture.
Buddy what i am asking is when you click on the dropdown button and when you type any keys like monday, is the monday option is getting selected in dropdown�
Cheers @mtalhabalci
no, it is not happening and im asking why is it not happening when i click dropdown after clicking âindicate element inside browserâ im directly getting error âthis control doesnt support selected itemââŚ
As you said, Select Item activity is not working here.
Instead of that use two click activities. One for clicking drop down field and another one is for selecting item from list. For second click activity give delay before 1 or 2 sec. and also make selector dynamic.
Yes, Select Item activity wonât support some applications.
i deployed the html page to azure, now select item activity is working properly. thanks for your supports.