IDE: taking screen shot always to desktop page and not the wanted app screen

Asked by prabhakaran on 2020-10-29

As a beginner in using sikuli IDE, have launched the IDE and tried taking screen shot manually by clicking the 'camera button'. it is taking me always to desktop page and not the one i would like to capture (chrome or any other screens).

I want to capture some images from chrome browser for test. whenever i click image capture button in sikuli IDE (2.0.4) - java version 8, it is taking me to my desktop screen everytime. is there any setting i need to configure to make sure i can capture any screen i want?

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
prabhakaran
Solved:
2020-11-05
Last query:
2020-11-05
Last reply:
2020-11-03

This question was reopened

RaiMan (raimund-hocke) said : #1

What system?

If Windows: only apps, whose windows are on the desktop can be captured this way (no fullscreen apps)

prabhakaran (prabharaje) said : #2

Hi RaiMan,
I am using MacOs Catalina Version 10.15.6

RaiMan (raimund-hocke) said : #3

In the system preferences -> security -> security (rightmost tab) you have to allow screenshots for java.

prabhakaran (prabharaje) said : #4

Thanks RaiMan, it worked