Type Into activity is Not working -> The expected text = "abcd" and actual result = ""

Hi All,

I am trying to write the value in “Name” field of the Java application using Type Into activity but sometime it is working and sometime it’s not.

image

Can anyone please help me with this.

image

Tried the below activities:

→ Tried removing the verification and then re added “Auto-Verification”.
→ Using Check app state before Type Into activity
→ Made window title as dynamic by *
→ Removed CV

Tried below Targeting Methods:
→ Kept Strict & Fuzzy selector
→ Kept Strict, Fuzzy selector & CV
→ Strict selector

Input Mode
→ Hardware Events (mandatory)
→ Tried with Same As App/Browser, its Not working.

Activate - True (Checked)
Click before Typing - Single, Double & removed entire option as well
Empty fields - Tried with Single line, Multi line & none

Tried all above permutation & combinations, but tough luck.

BR,
NK

@Nitesh,

You can use retry scope activity here. Put your type into inside it. Get text after type into and add Check True as condition of retry scope to check if the desired value typed or not.

Hey @Nitesh can you enable these option in the type into and givve a try
Enable this setting in the Type into property section-

1-Enable the Retry in the Type into
2-Input mode - first try with Simulate and after window message method.

Hi @ashokkarale ,

I tried with below, but its not working fine in VDI (local its working fine).

Please correct me, if I am missing anything here.

BR,
NK

@singh_sumit ,

Tried its not working.

BR,
NK

Hi @Nitesh ,

Could you let us know if the error message is the same every time you have tried ?

@supermanPunch ,

Yes, Every time, I am getting the same error message.

Also, @ashokkarale ,

I tried it, but still its throwing me same error (as mentioned above).

BR,
NK

@Nitesh ,

Could you maybe change the Property Verify execution and check if it works as mentioned in the post below:

@Nitesh,

As you are already using verify execution, this logic don’t have any use.

Verify execution will check if it’s able to type or not correctly.

Is this issue happening with only this type into or all the type into activities in the bot?

Hey @supermanPunch ,

Kindly check my above 1st screenshot where I have already kept “Expected text” as blank.

@ashokkarale
I used set text instead of Type Into, where it is writing the values correctly but my immediate next step is to Hit Tab where its getting failed.

BR,
NK

@Nitesh

  1. Can you show the selector you are using
  2. In java windows most of the times you see multiple highlights in a text field…try to take the inner most one as the element

Cheers

@Anil_G ,

Please find the screenshot of selector below:

And the window title of the application below:

image

Also, its highlighting the below screen correctly from above selector:

image

BR,
NK

@Nitesh

Its a list of values…better click on 3 dots it would open a pop up type there and click ok…that is more reliable

What happens in java window is if the value is a partial match then it would remove the value if you directly type…sometimes even casing different can cause this when the type is list

Cheers