← Back to team overview

sikuli-driver team mailing list archive

[Bug 968195] Re: Fill in formatted & autocompletion textbox

 

Ok, understood.

Then I think, it is simply a timing problem.

Just test, wether this helps and the optimize according to your needs:

click("text-field.png") # to give focus to the text field
wait(1)
type("1")
wait(1)
type("2")
wait(1)
type("3")
wait(1)
type("4")
type(Key.ENTER) # or tab or nothing - what you need

in some GUI situations, the single characters in the give string are
typed too fast for the GUI, since it needs some time to realize
intermediate GUI actions (open the drop down, start autocomplete,
position in the dd list, ...).

If this generally works better, you can reduce the wait times to the
shortest possible values so it still works.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/968195

Title:
  Fill in formatted & autocompletion textbox

Status in Sikuli:
  Opinion

Bug description:
  Hi,

  When I try to fill in a textbox that is being checked for numbers only and is being autocompleted, Sikuli 
  doesn't enter anything at all.

  I am currently using:
  - Sikuli X-1.0rc3(r905)
  - Windows 7, 64-bit, Service pack 1

  
  Anyone got a workaround?

  Kind regards,
  Kristof.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/968195/+subscriptions


References