← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #699003]: after screen.type(pattern., "text") and screen.type(pattern, Key.Tab) focus is set to previous component instead of next

 

Question #699003 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/699003

    Status: Needs information => Answered

RaiMan proposed the following answer:
ok, thanks - understood.

The only idea: timing problem - the TAB comes too fast.

try:

screen.type(p, text);
screen.sleep(DELAY_SHORTLY); // adjust the delay
screen.type(Key.TAB)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.