in Naukri website i want to select items but i got selector issue. Then i use aaname as selector. But it showing any one please solve it or any suggestions
→ Use Click activity to click on the dropdown to drop the values.
→ Use for each Ui element activity and indicate the values in the dropdown.
→ Inside for each Ui element activity insert the Get Attribute activity and pass the CurrentElement to the Input element of Get attribute activity and select the aaname attribute then create a variable of the output of Get Attribute, let’s call the variable name as AAName.
→ After assign insert If condition to check the condition
- Condition -> AAName.equals("21 years")
→ In then block insert click activity and pass the CurrentElement to the Input element option of properties of click activity.
Hope it helps!!
When the dropown is a html element of tag: select, then remodify the target selector (we do see div)
When the dropdown is one of the other types like:
- input + datalist
- Webkit
then we would handle different (e.g. 2 clicks: one for expanding, one for the click…)
Feel free to share with us some details to the element structure e.g. a screenshot done with Browser F12 Webtools or UiExplorer
yes but i want to use select items in dropdown action.
yes @LOHITH_KUMAR_SAKA the flow process is to select the option in the dropdown only.
For some dropdown selectors, the dropdown activity will not work in these times we use the for each ui element activity.
Hope you understand!!
yes, i think it is use full i need to research on it. How to use it
Follow the Step by Step process @LOHITH_KUMAR_SAKA -
→ Take a click activity and indicate on dropdown element to drop the values.
→ After that use For each Ui element activity and indicate the options in the dropdown. Output of For each Ui element activity is CurrentElement.
→ Inside for each insert Get attribute activity, pass the CurrentElement variable in the Input element option which is in the propeties of Get attribute activity.
→ In Get attribute activity Select the aaname attribute in the Attribute dropdown.
→ Create a Variable called Name in the save to field in Get attribute activity.
→ After Get Attribute insert If activity to check the condition.
- Condition -> Name.toString.Contains("21 years")
→ Inside then block insert the click activity and pass the CurrentElement variable in the Input element option in the properties of click activity.
Check the below workflow for better understanding,
Regex_Practice.xaml (21.0 KB)
Hope you understand!!
yes ,but in my excel there was some experience (ex: 1 year,fresher,2 years).now i need to select the dropdown item by matching. Naukri.com
Okay
As my understanding, you have to select the option based on the excel data. Am I right…? @LOHITH_KUMAR_SAKA
If yes, you may be used for each row in datatable or for each excel row activity to iterate the each row in the excel data, right then store the value in a Variable called Experience.
- Assign -> Experience = Currentrow("Column name")
Pass this column name in the If activity which is placed inside for each ui element activity, then change the condition as below,
- Condition -> Name.toString.Contains(Experience.toString)
Hope you understand!!
in excle sheet there was skill name (UiPath,data analist…etc), experience(1 year,2 years…etc), location (us,uk…etc).so i need to take one row and enter into this form but in that i have dropdown at experience .
May be the above post solve your issue @LOHITH_KUMAR_SAKA
how can i select that perticular value(experiance) in the dropdown.i use select items approach but it was not working.the above image are the errors and platform view.
I have given you the workflow right, do you followed and developed the workflow in your Studio. @LOHITH_KUMAR_SAKA
Is it working for you or getting any error!!
Be more elaborate your query, then only we understand and try to give you the solution.
after using of type into i need to select experiance based on the input excel sheet. But here select items are not working proper.
You are using classic activities but the For each Ui element is modern design activity. you have to use the For each Ui element inside use application\browser activity.
What I have given workflow till now is in modern design experience only, not used any classic activities.
Hope you understand!!
yes ,that’s why i place the for each in use application after the i cant understand how can i pass the value from my excel sheet and select .
note: we cant write the value in input box in experience we can only select
Firstly you are using the classic activities, there is no for each ui element activity in classic. @LOHITH_KUMAR_SAKA
For using that you have to use modern design experience, The for each Ui element will work inside use application\browser activity.
we can get the values from excel and we can select the options in the dropdown by using for each row in datatable activity.
If you are aware of modern design experience then let me know I’ll help you to solve this.
Hope you understand!!
Okay then share me the Input excel file. @LOHITH_KUMAR_SAKA
I’ll do automate the task upto entering and selecting details from dropdown.
New Microsoft Excel Worksheet.xlsx (7.9 KB)
sample input sheet. web site link https://www.naukri.com/




