Send Keys Terminal Activity Giving Error

Hi All,

I am using Terminal activity (send keys) for sending any text on the terminal screen.
It worked everytime when the text length is around 20 words but now when i am trying to send very long text(more than 200 words) its giving me error
System.Exception: Terminal error: Error
at UiPath.Terminal.Activities.TerminalActivity`1.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

I tried using Type Into, changing delay MS, and giving delays but nothing worked… Please suggest.

Thanks
Ronak Garg

Hi, Have you tried Delay Between Keys property in Type Into Activity?

Regards,
AK

Hi Anand,

Yes i tried through Type Into also, but type into is not even typing a single word on mainframe.
I tried sending “hi” through type into, but it doesnot type anything.

Thanks

How much delay you have given? Also have you tried with “Simulate Type” or “Send Windows Message”

Regards,
AK

Yes I tried giving the simulate type & send windows message.

But it didnt work for me.

Thanks

Will that Terminal Screen allows to type 200 words manually?

Regards,
AK

yes manually i am able to copy paste it

Then can you try the same way using BOT to perform Copy and Paste by Send Hot Keys

Regards,
AK