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
Currently, when I accidentally try to Select a value in a ComboBoxControl, and the value is not present, I get no error whatsoever. So I am left with having to check beforehand if the options of the dropdown contain my target value.
In this case, uiautomation does produce a log entry in its own loggers
Currently, when I accidentally try to
Select
a value in a ComboBoxControl, and the value is not present, I get no error whatsoever. So I am left with having to check beforehand if the options of the dropdown contain my target value.In this case,
uiautomation
does produce a log entry in its own loggershttps://github.com/yinkaisheng/Python-UIAutomation-for-Windows/blob/abb247330bcba4fdb9244f669f451edcab5f4125/uiautomation/uiautomation.py#L7134
and returns False.
However, this message is not bubbled up to me as the user of RPA.Windows, and the return value is not processed:
rpaframework/packages/windows/src/RPA/Windows/keywords/action.py
Lines 234 to 245 in 092591f
I would provide a PR, but I am not sure myself what the best solution would be.
The text was updated successfully, but these errors were encountered: