You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are brave enough you can get more "stuck in" and you might be able to handle those elements with Values with the current version of rpaframework.
lib=Windows()
window=lib.control_window('name:"Sema4.ai Studio" type:Pane')
# The 'WindowsElement' type (above 'window' is of this type) returned by most of RPA.Windows keywords # contains 'item' property, which contains uiautomation class instance (underlying package used by the # library). Via this instance it is possible to access different methods and properties as the library # does.## Control type needs to match type of the element being searched, in my case 'ComboBoxControl'# # Searching for element with the 'Value' of 'Bug bash'item=window.item.ComboBoxControl(
searchDepth=10,
Value="Bug bash",
)
# Access the 'Name' property of the found elementprint(item.Name)
# Mouse click elementitem.Click()
# Send keys to the elementitem.SendKeys("Hello")
How can I get an element based on the value ?
Wouldn't a locator make sense for that usecase ? for example: "value:Vorschau"
This is my specific usecase example, on which Im working on:

I want to get the Element with the Value: "Vorschau"
alternative possibilities:
The text was updated successfully, but these errors were encountered: