← Back to team overview

sikuli-driver team mailing list archive

[Question #203095]: How to calculate a region after doing some action like clicking on a button that opens a popup???

 

New question #203095 on Sikuli:
https://answers.launchpad.net/sikuli/+question/203095

Is it there an easy way to calculate the region of a recently open popup or dialog after doing an action?

It is easy to calculate a region using two opossite corners for example, but having the reference images updated or captured can add extra complexity to the automated scripts development, so I need a way to infer the region (for example) of the popup  by doing some image diff to the screen before opening the popup compared to the state of the screen after the popup was open.

I wouldn't mind to use any low level API to do this or some Java library, the question is do we have access to some Vision operations through Sikuli to accomplish this?


Cheers,
Raul

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.