When I am trying to fill a dropdown component in an Appian form using Appian RPA I am getting the following error in execution log of the RPA
The element (By.xpath: /html/body/div[1]/div[1]/main/div/div/div[1]/div/div/div/div/div/div[1]/div/div/div/div/div[2]/div[2]/div/div/div[2]/div[1]/div[2]/div/div[1]/div/div[2]/div/div/span) could not be interacted with because the component is currently disabled or hidden.
Any help regarding this would be highly appreciated.
Discussion posts and replies are publicly visible
To interact with the component inside the dropdown, possibly you will need to expand the dropdown to make the component visible.
Normally, if the dropdown is collapsed, the values are not visible for the RPA process.
Additionally, try to check the "Scroll to element before interaction" option described on the documentation docs.appian.com/.../browser-module.html
Hi David,
We are expanding the dropdown and bot is clicking on dropdown but it not selecting the value.
Thanks for reply
Hi:
A couple of additional suggestions.
Did you try to interact with the dropdown using "Select dropdown choice by visible text" interaction?. This interaction performs the action directly against the whole dropdown web element ( https://docs.appian.com/suite/help/23.1/rpa-8.9/modules/browser-module.html#interact-with-element )
On the other side, I am not clear if you used the Appian Task Recorder to record the interaction. If not, could you try it? The Appian Task Recorder creates directly the"Select dropdown choice by visible text" interaction. Additionally, I think that the selector suggested by the Appian Task Recorder is more accurate that the xpath selector you included in the case.
I add below an example of how I recorded the action in the Appian Task Recorder, and how the action was generated on the List Flow
Finally, if the website you are automating is public, I would appreciate if you could indicate the URL to try to help you better.
Hi:)
I have tried with recording but Id is changing again and again so it not able to recognize the dropdown and not even clicking on dropdown. That why I am using Xpath, it at least able to recognize the dropdown and click on dropdown but not selecting the value.When I am using Xpath, I have tried with all three interaction of dropdown but it not able to recognize the text.Thanks
Only for information, the Appian Task Recorder allows you select another selector while you are recording the automation. You could try with another selector.
But in any case, it seems that this is not your problem, because the element is located with your Xpath selector.
In the app market there are a Library with additional Browser Low Code methods https://community.appian.com/b/appmarket/posts/additional-rpa-browser-actions. Can you install it and test the method "Select dropdown values using the starting characters"? It is an implementation for a special type of dropdown. Maybe yours is of this type.
Hi David :),I have tried with this plugin and pass all correct detail but this one is not working
I am facing this error
Thanks
I can not see the reason of the fail. Normally is present at the end of the stack trace. But maybe your dropdown is not compatible with this method.
If the website you are automating is not public and I can't test, Then, the next recommendation is to use the keyboard instead of the Browser module methods.
The sequence would be more or less:
- Click on the dropdown (this already works for you).- Create an action "Press keyboard shortcuts" and select as Additional Keys "Down" (one or more times)- Create an action "Press keyboard shortcuts" and select as Additional Keys "Enter".
Hi :),
Press keyboard module is working. We can use it after click on the dropdown so it will press the keyboard "Down" and last "Enter".
What if, I have select another value from drop down, where i don't know how many times i have to press down Key ?