I have a non-editable text box in a webpage with a lens button next to it. On clicking the lens a pop up window comes with a dropdown list. When I click (mouse click) the dropdown and click (mouse click) an item in it, the system immediately closed the pop-up, takes me back to the original web page and populates the selected item in the non-editable textbox.
When I tried to automate this in UiPath, I used an “on element appear” activity after clicking the lens button and used a “Select Item” activity and passed a variable that has the value to be selected. When run, the item is selected in the dropdown but nothing happens (the dropdown does not close and does not take the control to the webpage and populate the value in the non-editable textbox). What I need to do get this working.
I even tried a click activity, send hot key (tab) after that.
did you tried with 2 clicks?. first one click to drop down the list, and the other click using f2 key to get the item you want to click, or even you can search by selectors in the drop list and click the selector you desire. our use the click text activity too, this can be another solution as well.
Regards
Have you tried Type Into activity with K(enter)?
Indicate the dropdown and enter the text you want to select (Match case and spaces). + enter.
Hopefully it will work
@rachrahul2 thanks… I tried type in to and a enter in the end. The control went back to the web page and continued but the item to be selected is not passed to the edit box.
My whole project is stalled because of this! I even did a select item and send hot key (tab)- The item is selected and highlighted but its not passing the value to the webpage.
@fernando_zuluaga Thanks. I tried the 2 clicks - first click for the drop down button and the second one after F2 to select the item list. But the selector from the second click is not having any value from the drop down that I can use to replace with. It rather shows the screen behind it. I think the uipath is not reading the drop down.
When I tried click text - I get the error “Click Text ‘BODY’: Text was not found”
@Devarajan_Sundaresan
For such Analysis Open uiexplorer in Standalone Mode via UiPath ribbon - Design - uiexplorer
Here you click on the drop down Box and later manually inspect and reconfigure the selector by browsing left Side visual tree. Dont forget to right click ob element of choice and select as target element
The found selector you can Copy to the Second click activity
You can check whether you have the option of making a simulated (or Send Window Messages) click directly on the selection you want. That worked for me in a similar case
@ppr See attached. In the UI Explorer this how the selector is for the click activity. The list values is coming in rowName. How can I make a selection out of those? The click activity is not picking up a value from the list. I think its not a list item?!