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