Comment 7 for bug 802690

Revision history for this message
Caio Araújo Teixeira Campos (caioatc) wrote : Re: Part of a dialog gets black when trying to take a screenshot, run sikuli script or use Matching Preview

Thanks for your quick responses.

Answers preceded by A:

--- you say: It still doesn't work.

does this mean using
java -jar path-to-sikuli-script.jar path-to-your-script.sikuli ???

A: yes

--- the test
The screen size is 1024x768, but the mouse does not reach the lower right corner: (1023,767).
The captured upper right 300x300 is found with no problem.

A: Doesn't the screen start on 0,0? I thought it was right the mouse reaching 1023,767

--- you say:
Running this way I don't know if the menu is black or if it is not black and Sikuli can't find it.

pls. clarify what you mean, I do not understand.

A: When using Sikuli to screen capture or matching preview I'm certain that Sikuli sees black regions, but using the jar, instead of the IDE, there is no way to know if Sikuli is seeing things black.

--- real life
it would be helpful, to have a screenshot of the scene and the relevant part of the script.
put all together in a zip and attach.

A: To see the problem happening you don't even need a script, just try to take a screenshot and you will see the black thing. I will try to get a screenshot of the scene but I don't have it now since the application I'm testing is confidential and I couldn't find a similar bug yet.