sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #07173
[Bug 893909] Re: [error] Can't create OS Util: org.sikuli.script.Win32Util- exception is thrown whil eusing Sikuli through java
Issue is observed on Sikuli-X-1.0rc3 (r905)-win32 On Windows7 OS.
issue is observed in 2 out of 3 windows 7 machines. same code works on other windows 7 and also on Mac Os X.
below is the sample code.
Sikuli-X-1.0rc3 (r905)-win32
public class TestNGTest {
static Selenium selenium;
WebDriver driver = null;
Screen sikuli=new Screen();
@BeforeTest
public void startSelenium() throws Exception {
driver = new FirefoxDriver(profile);
selenium = new WebDriverBackedSelenium(driver, "http://www.google.co.in");
}
@AfterTest
public void stopSelenium() {
try {
captureScreenShot();
} catch (Exception e) {
}
}
@Test
public void clickOnAllowButtonOnFirefox() throws Exception {
sikuli.wait("C:\\Automation\\Installer\\xpiicon.png");
sikuli.wait("C:\\Automation\\Installer\\allowbtnOnBrowser.png");
}
exception is thrown while initialing sikuli @ "Screen sikuli=new
Screen();" line
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/893909
Title:
[error] Can't create OS Util: org.sikuli.script.Win32Util- exception
is thrown whil eusing Sikuli through java
Status in Sikuli:
New
Bug description:
I am running Sikuli through java, by using Sikuli-script.jar, while running the script i get the below exception
"[error] Can't create OS Util: org.sikuli.script.Win32Util"
Environment: Windowd 7 (32 bit)
Installed JDK 1.6.0.29,jre6
JDK path, JRE path and Sikuli path are given in the system path variable.
Issue is observed on Windows7 only and its consistent
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/893909/+subscriptions
References