← Back to team overview

sikuli-driver team mailing list archive

[Bug 999329] Re: is there a bug in how regions are handled for windows?

 

--- I verified it by removing the reg.
This only means, that the images are searched on the whole screen, where they are visible somewhere (but not in the region, that is returned by App.window())

** Summary changed:

- is there a bug in how regions are handled for windows?
+ is there a bug in how regions are handled for windows? --- no, it is the App class's differences on Mac and Windows

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

Title:
  is there a bug in how regions are handled for windows? --- no, it is
  the App class's differences on Mac and Windows

Status in Sikuli:
  Invalid

Bug description:
  I am implementing some clicks and image verification within a region and found out that it works on MAC but not with windows.
  Is there a bug on windows not understanding regions or am I doing something wrong?

  here is the sample code:
  myApp App('firefox')
  myApp.open()
  reg = Region( myApp.window() )
  reg.click('image')
        [[    or do this   => ]]     assert reg.exists( image)

  If I ran that code on a MAC, it is able to click or verify that image, but when running it on windows xp, it is not able to find it.
  I verified it by removing the reg. from click and exists on windows and it would work

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


References