Type into Activity cleans off after text is typed

I am using the type into activity to type into a table in my application on a remote desktop, however after the cell is identified and it type into it , upon going to type in the next cell , the first one clears off

What i have done so far is add a delay between keys(1s) but it did not resolve the issues, also i set delay after (3s) still it is still the same issue..after typing into a cell, it clears off then proceed to type into the next cell

Hello @Endurance_Orisabinone

Can you elaborate what you mean by “clears/cleans off”?

If you mean that the existing text in the cell is overrwitten, then you could set the property EmptyField to NONE.

If you want the automation to deselect the cell, to perhaps confirm the input, then you could set InputMode to Simulate and check Deselect at end.

Regards
Soren

You could also try sending Enter after typing - perhaps this confirms the input.

i have a 4 by 4 table to fill with the type into activity, so after a cell value is entered, i can see it entering the text correctly, however upon completion and moving to the next cell the former cell value became empty/null

Okay, i will explore this option..thank you Soren

1 Like

Hello Sorren, using the Enter key after typing did not resolve my issue, i am afraid the problem might come from the speed at which values is being entered into the cell.

@Endurance_Orisabinone

The behaviour clearly suggests your next cell selectors are same as the previous one.

Does it able to type next cell after clearing the previous one?

Normally once bot moves to the next activity, it don’t remember previous activity or data until and unless we store it in any veriable.

Check selectors of both cell are being repeated or something around it.

Have you tried with the Set Text activity as an alternative to Type Into?

Along with this I would recommend to use Activate = True and Click before typing = true

It is a background process, using Activate = true will lead to an error, yes i enabled click before typing

Thank you, let me go and try that out …also i will like to let you know that it works fine when debugging on my device , however this issue only persist when i am running my jobs on the remote server

Yes it does type to the next cell and cleans off too…although sometimes a little part of the typed text remains

@Endurance_Orisabinone,

That’s curious :face_with_raised_eyebrow:
Try enabling verify execution on Type Into activity

1 Like

Update: Thank you all for the feedback.
i have gotten to realize where the problem is coming from, Everything works fine if i run it on my local machine, however once i try to run it on my remote server that is where the issue comes up…is there something i can do to fix this
I have debugged over 20 times on my pc and the automation works fine but once i debug with remote debugging the text clears off after it is entered.
I have UiPath extension installed on my remote server


These videos show two different debugging instances.

The automation runs perfectly on my PC, but when I switch to the remote server, it breaks, and the text is not entered correctly.

Hi @Endurance_Orisabinone,

is the screen resolution same on remote machine as your local machine?

For ui automation activities to run successfully, they should be run on same screen resolution they were developed.

you can verify this manually from display settings or you can have below statement printed under your log message as well in the beginning of your workflow to understand which resolution bot is working on.

"BOT is working on screen resolution: " + System.Windows.SystemParameters.PrimaryScreenWidth.ToString + " x " + System.Windows.SystemParameters.PrimaryScreenHeight.ToString

Regards
Sonali

Thank you for your swift response @sonaliaggarwal47 , i can confirm that both my local pc and remote machine have the same resolution 1280 *720

is it possible for you to do screen recording instead of video recording… issue will be much more clear to troubleshoot.
One thing that I noticed in video (length 26 seconds) is that for for first and third record, it worked but for second record it failed. Can you check if date format is same on your and remote machine. It could be possible that different in system date format is causing this issue.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.