How to dynamically select a value from dropdown using 'Select Item' activity?
Help
Nandan_K
(Nandan)
1
Hi,
Can any one help me in selecting an value from dropdown using ‘SelectItem’ activity dynamically,
Like lets take an example if the dropdown have 10 values in it, i want to select some 3rd or 5th some thing like that, the values will change dynamically so i need to depend on position of that value(i.e count).
How can i do that using Select Item Activity.
Thankyou for the solution, but this is not the one i’m looking for,
because in my case the values will be populated into the drop-down from database which does not have fixed attributes, the attributes are dynamic.
Yeah with this you can get selector as well then by using that selector you can use Get attrbute to get that dynamic attribute value.
Hope recheck it and some lil change will resolve your problem i Guess…
Regards,!!
Aksh
ezharul.ansari
(Ezharul Hasan Ansari)
5
I understand your issue, it is dynamic values where you will not get any of the fix item using get attribute.
You want to mimic the user activity, you can use click activity and then send hot keys to move down to move to next element, now you can read using get text.
1 个赞
Nandan_K
(Nandan)
6
Hi @ezharul.ansari,
Thank you…followed the same process but was looking if there is any alternate solution other than this.
Thanks & Regards,
Nandan.
sharad.kesarwani
(sharad)
7
Hi,
In my sheet i have columnName “Passport Office”, its 1st value is Bengaluru and depending this column value i need to select option from dropdown.
Can anyone help me out, how to click the desired option(“Bengaluru” in this case).
Please refer to attached image.
Thanks In Advance.
aksh1yadav
(AKSHAY YADAV)
8
Hey @sharad.kesarwani
You can read the data from excel and by using Read Range( If have large data for different user) otherwise if it is a single cell then you can read that cell and then you can use “Select Item” Activity and indicate that selectbox and pass the your data(stored in a variable) to it.
Regards…!!
Aksh
sharad.kesarwani
(sharad)
9
Thanks @aksh1yadav, it is working fine for general sites but when i am trying same with my CRM I am getting error and it is not able to select correct option from dropdown.
selector is
Sheet
Thanks,
Sharad.
aksh1yadav
(AKSHAY YADAV)
10
Try with. Some delay or simulate key check or still if problem is there
then trim the value.
Rajeev1
(Rajeev Ranjan)
11
Hi @aksh1yadav
I tried your solution. However please note that my s/w doesn’t allow direct data entry. We can only scroll the drop-down list and select the required value. In this case, what should be done?
Hi Team,
Attached work contains various ways to select drop down list.
In case any other methods to select drop you can add the same and link the workflow to the same thread., DropDownSelectItem.xaml (17.7 KB)
project.json (239 Bytes)
FindChildrenActivityRD.xaml (9.4 KB)
SelectDropDownTypeInto.xaml (10.0 KB)
Regards,
Arivu
1 个赞
RishiVC1
(Rishi Shukla)
13
If it’s a citrix environment then you can’t use select item activity. In citrix you can reach to required field using tabs (or whichever wat you are reaching there, right now), once you are there use type into to select the required value, assuming there is no field to type, but when you press a key your drop down takes you to the first value starting with that letter, and from there you can use down and enter keys to select the required value.
Saiharshitha
(saiharshitha)
14
Hi @sharad.kesarwani,
After you pass the value from the excel try the “send hot key” activity by placing “tab” key in it.I think it is useful for you.
Hemanttt
(Hemanttt)
15
@aksh1yadav Hii, can u pls suggest me how to do click on drop down box and select the value. For info pls check the screenshot.
https://lh3.googleusercontent.com/-_535rGGxDXU/W4Z18F1-k3I/AAAAAAAAAzQ/f85bzHPpjvg4bUyx0rUFphzTYcbRen_VgCL0BGAYYCw/h2048/54f4796c-19cc-4e3c-917d-57638c388dd8
相关话题
话题
回复
浏览量
活动
How to use "Select Item "Activity?
Help
activities
16
29395
2018 年10 月 29 日
Error with "Select Item Activity"
Activities
excel
,
activities
,
question
10
900
2022 年12 月 4 日
Input DropDown
Help
3
3550
2018 年10 月 4 日
Facing issue in selecting drop down options using Select Item acticity