Unable to use the in-built functions of SikuliX JAR in MAVEN

Asked by Ramakrishnan on 2019-05-10

I have configured the SikuliX JARs in MAVEN project. But I am not able to use the in-built functions of the JARs.

"Cannot instantiate the type Screen" - is the message I received. Any help would be appreciated.

Question information

English Edit question
Sikuli Edit question
No assignee Edit question
Last query:
Last reply:
RaiMan (raimund-hocke) said : #1

more details needed what exactly you are doing/trying.

RaiMan (raimund-hocke) said : #2

what version, what system, what Java, which IDE?

Ramakrishnan (ralagula) said : #3

I would need to automate a citrix application. I would need the methods associated with the JARs.

RaiMan (raimund-hocke) said : #4

still not answered all questions.

Ramakrishnan (ralagula) said : #5

I am performing test automation using Sikuli.
Below are the steps:

1. Login to citrix webpage.
2. Launch citrix applications.
3. Perform navigations inside the citrix application.
4. Logout of citrix.

The problem I am facing is I have to select options from the Menu items. Run->Samples is the navigation in the citrix window. While I am able to capture 'Run' option, 'Samples' option couldn't be recorded using Sikuli. The reason being 'Samples' will be displayed after the 'Run' menu is expanded.

Please help on this.

RaiMan (raimund-hocke) said : #6

Try to Use keyboard actions to select the menu and its entries.


While the SikuliX IDE is open, you can arrange a GUI situation and then use the capture hotkey (see Preferences), to capture for example a menu item, that otherwise with the normal capture button would disappear before you have a chance.

Can you help with this problem?

Provide an answer of your own, or ask Ramakrishnan for more information if necessary.

To post a message you must log in.