Public bug reported:

Our objective is to be able to specify the timeout for the location of a
bitmap.

In early version of Sikuli i.e. 1.1.1 find() function internally calls
autoWaitTimeout() which wait's for stipulated time like if we overrides
the autoWaitTime by placing below code,

sikuli_timeout = screen.getAutoWaitTimeout(); //it gives default time of Sikuli 
i.e. 3.0 sec
screen.setAutoWaitTimeout(10); //Overriding autoWaitTimeout by setting 10.0 sec

But in the latest version 2.0.4, find() is not calling the
autoWaitTimeout due to which not able to override the default
autoWaitTimeout. Please suggest how we can achieve this by some
workaround.

Sikuli version - 2.0.4
Operating System - 64-bit Windows

Please check the find() method of Region.class of 2.0.4 and 1.1.1 and do
comparison.

** Affects: sikuli
     Importance: Undecided
         Status: New

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

Title:
  Facing issue with Sikuli 2.0.4 version for find() function.

Status in Sikuli:
  New

Bug description:
  Our objective is to be able to specify the timeout for the location of
  a bitmap.

  In early version of Sikuli i.e. 1.1.1 find() function internally calls
  autoWaitTimeout() which wait's for stipulated time like if we
  overrides the autoWaitTime by placing below code,

  sikuli_timeout = screen.getAutoWaitTimeout(); //it gives default time of 
Sikuli i.e. 3.0 sec
  screen.setAutoWaitTimeout(10); //Overriding autoWaitTimeout by setting 10.0 
sec

  But in the latest version 2.0.4, find() is not calling the
  autoWaitTimeout due to which not able to override the default
  autoWaitTimeout. Please suggest how we can achieve this by some
  workaround.

  Sikuli version - 2.0.4
  Operating System - 64-bit Windows

  Please check the find() method of Region.class of 2.0.4 and 1.1.1 and
  do comparison.

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to