Type Into - Programed for 1, types 11

I have a Type Into, where it is supposed to Type 1 into a web based application. However, it keeps typing 11.

I have tried multiple things, but nothing has worked, and I even have the same item else where in the bot, and it works correctly.

Thanks in advance for the help!

Can you please share your screenshot of type into activity

It’s the Type into Subpd 11.7

Can you pls pass “1” into your type into

Type into accepts string as input and you are just passing 1 to your type into activity.Please try passing “1” and check

Mostly both type into activities have same selector ..
Is month variable set as 1. Next one you are hard coding to 1..

Can you recheck the selector and verify the value in variable.

Just try indicating again and give it a try

If it’s a password or secure field then assign your value to variable and try to pass variable into your type into same as you did it in the previous where Month variable is passed and then check

@RPANovice1

A workaround would be just delete this problematic activity and add it again.

I did find a solution, but it doesn’t make sense. I left the Type This blank and it still typed in a one in the web based application…No idea why.

Are you sure it’s typing 11? I’ve seen datetime interfaces like that where if there’s already a 1 there and you type 1 it doesn’t replace the existing one it adds it on so you get 11.

Hi @RPANovice1

This usually happens when the field already contains a value or the activity is triggered twice.

  • Make sure the input field is empty before typing (use Clear field or Ctrl+A + Delete).
  • Verify the Type Into is not inside a loop or being retried.
  • Turn off Simulate Type and try with SendWindowMessages (or vice versa).
  • Add a small delay before the Type Into to avoid focus issues.

Most of the time it’s either the field not being cleared or the activity executing twice.

Have you tried another value randomly like 25 or something?

Usually in some tools default date values given are 1 if not provided, do check manually if this is the case.
and if so do check Empty field property of this type into is properly working.
Or have you tried classic type into activity?

Dim hasEmptyCell As Boolean = dtInput.AsEnumerable().
Any(Function(r)
IsDBNull(r(“A”)) OrElse String.IsNullOrWhiteSpace(r(“A”).ToString) OrElse
IsDBNull(r(“B”)) OrElse String.IsNullOrWhiteSpace(r(“B”).ToString) OrElse
IsDBNull(r(“C”)) OrElse String.IsNullOrWhiteSpace(r(“C”).ToString)
)