Sikuli integration with selenium

Asked by ameya kulkarni

since selenium in unable to work on java applets, i am trying to use sikuli with selenium. I am not able to integrate sikuli commands with selenium, gives me an error.....can any one help me on this??????

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

what error, what system environment?

Revision history for this message
ameya kulkarni (amey3017) said :
#2

i am working on win7 64 bit machine.

i am using eclipse indigo flavour and trying to work on java.

i tried this snippet of code but i am getting error

    public void testTester() {

        String userName = getData().getVariable("userName");
        String utilName = getData().getVariable("utilName");
        boolean sikuli = false;
        boolean selenium = true;

        start(userName, userName);

        TypeManagerNavigationSolvent tmns = Navigation.Site().utilities().openTypeAndAttributeManager();

        Screen s = new Screen();

        s.click("1332228516581.png");

    }

Revision history for this message
RaiMan (raimund-hocke) said :
#3

what error?

Revision history for this message
ameya kulkarni (amey3017) said :
#4

Compilation issues...... s.click("1332228516581.png");
asking to provide some different argument PSMRl or PSMPRl argument

Revision history for this message
RaiMan (raimund-hocke) said :
#5

Using
import org.sikuli.script.*;

???

This is from Eclipse Indigo and does not make problems:

import org.sikuli.script.*;

public class test {

 /**
  * @param args
  */
 public static void main(String[] args) throws FindFailed{
  // TODO Auto-generated method stub
  Screen s = new Screen();
  s.click("xxx.png");
 }

}

having a reference to sikuli-script.jar in the Java-Build-Path libraries of the project.

Can you help with this problem?

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

To post a message you must log in.