Reputation: 307
I am using flash website , that flash site contents text box and i want to enter value
in that text box.
I am using sikuli-script.jar with selenium webdriver with java.
Here is my code:
public void AISTest2()
{
WebDriver driver = new FirefoxDriver();
driver.get("url of site");
Screen s = new Screen();
try {
Thread.sleep(20000);
s.click(s.find("c:\\user.png"));
s.type("mytextfieldvalue");
} catch (FindFailed | InterruptedException e) {
e.printStackTrace();
}
}
when i execute this code following error comes:
Exception in thread "main" java.lang.UnsatisfiedLinkError:
C:\Users\laxman\AppData\Local\Temp\tmplib\VisionProxy.dll:
Can't find dependent libraries
Upvotes: 0
Views: 2769
Reputation: 1525
Did you add the path for sikuli libs folder to your environment PATH variable? If you are using a version earlier than 1.0.1 then you need to add SIKULI_HOME as well to the environmental variables. See this link - https://answers.launchpad.net/sikuli/+question/235169
Upvotes: 1