screen type some times misses the characters

Asked by UmaMaheshwarRao

I am using sikuli with java.
Some times the screen.type misses the few characters while typing. for instance if i type https://ipaddress/..
then it is missing ht and types only "tps://ipadress"

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

That is a typical timing problem. The action before the type (e.g. giving focus by a click to the target) is not terminated by the GUI element (not ready for input).

try something like that:

click()
wait(0.5) # try out, what your specific timing might be
type()

Revision history for this message
Arun (arun-pahilajani) said :
#2

Hi, sorry to open this old thread, but i am seeing almost the same issue with Sikuli and C#.

i am using a Nuget package (SikuliSharp) that wraps around Sikuli and we are noticing that it misses typing the characters in the middle of the string.

e.g. if I am asking it to type "ABCDEF", it will sporadically type "ABCF". I've also tried to insert a wait of 1 sec in between the click of the gui element and type command, but it did not help.

Any idea ?

Revision history for this message
RaiMan (raimund-hocke) said :
#3

I am rather sure, that this SikuliSharp does not wrap the latest SikuliX.
Since Sikuli before 1.1.0 is no longer supported, I cannot help you.

Revision history for this message
Arun (arun-pahilajani) said :
#4

no worries - SikuliSharp has released a newer version using Sikuli 1.1.0

we have a workaround to resolve this issue - if that workaround doesn't work for us any more, we'll try the latest version of SikuliSharp.

Thanks.

Revision history for this message
RaiMan (raimund-hocke) said :
#5

user takes care himself