Quantcast
Channel: UiPath Community Forum - Topics tagged error
Viewing all articles
Browse latest Browse all 4384

SetText activity, Specified cast is not invalid

$
0
0

Hi all,

When I use the SetText activity in the Outlook To field, An error has occurred “The specified cast is invalid”.
We used the IndicateElement of the SetText activity to select the To field. Actually selector is valid.
The selector is as follows.

<wnd app='outlook.exe' cls='rctrl_renwnd32' title='無題 - 会議 ' />
<uia automationid='4109' cls='RichEdit20WPT' name='必須' />

To resolve the error, I edited the selector as follows, without using IndicateElement.

<wnd app='outlook.exe' cls='rctrl_renwnd32' title='無題 - 会議  ' idx='*' />
<wnd ctrlid='4109' />

It’s strange that a cast Exception occurs in the set text activity.
The error has been resolved, but I feel that there is an error in the IndicateElement.
It is inconvenient that the function cannot be used.

Studio version is v21.10.0.0

12 posts - 5 participants

Read full topic


Viewing all articles
Browse latest Browse all 4384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>