A. Is there a way to select the first non-default dropdown option using actions instead of code? One of our codeless automation developers got stuck on this, and I had to guess the correct API to retrieve the web element attribute.
B. Sub-questions:
i. Where can we find documentation for UiPath.Core.UiElement specific to our version? I found a partial answer on the forum: Convert UiPath.Core.UiElement to text.
ii. Is there a codeless equivalent of the following code snippet?
// code snippet
travelContactDropdownChildren //
.Where(child => child.Get("innerText", false).ToString() != "-- Select from here --")//
.FirstOrDefault() //
.Get("innerText", false).ToString()
iii. Can we create our own UiAutomations and share them with team members?
If yes, where can we find the relevant documentation?
Use get attribute and indicate the dropdown and then get the items…now next use select item with items(0) this will select the first option
there is no specific doc as such…create a ui elment and then use uielment. and ctrl+space it would show all the methods you can read their descriptions and try using them
yes you can basically libraries option is for the same…on home page of studio along with process you would see libraries as well…you can create a library with any ui activity you need and people can install it can packages and the codes you create are available as activities
Is there a way to filter out a specific value and then select the next drop-down option? I’m trying to avoid writing code and only using UiActivities or actions.
yes you would be using activities only…get attribute will get all values in dropdown…and then you can choose which item to select and pass only that to select item activity again