New question #269303 on Sikuli:
https://answers.launchpad.net/sikuli/+question/269303

First of all, hello.

I'm trying to use Sikuli in my workplace to automate tests over Flex, and by 
recommendation of other workers and superios, I should use Sikuli together with 
Eclipse so everyone could use the same IDE, and that I could use it java-like.

Tried to follow some tutorials to start somehtign simple, here are the links 
for the tutorials:
http://www.softwaretestinghelp.com/sikuli-tutorial-part-1/
http://doc.sikuli.org/faq/030-java-dev.html

BUT I'm stuck with this error:

-----
[error] txt_image.png looks like a file, but not on disk. Assume it's text.
FindFailed: Text search currently switched off
  Line 1671, in file Region.java

        at org.sikuli.script.Region.wait(Region.java:1671)
        at org.sikuli.script.Region.find(Region.java:1590)
        at org.sikuli.script.Region.getLocationFromTarget(Region.java:1991)
        at org.sikuli.script.Region.click(Region.java:2197)
        at org.sikuli.script.Region.click(Region.java:2181)
        at teste.teste.main(teste.java:11)
[error] Region.find(text): text search is currently switched off
[error] doc_image.png looks like a file, but not on disk. Assume it's text.
[error] Region.find(text): text search is currently switched off
-----

The code I have is a simple "open notepad from desktop and write", follows the 
code (I tell already that is the same code as it shows on the first link I sent 
here, but changed to have my imgs):

-----
package test;

import org.sikuli.script.*;

public class teste {

        public static void main(String[] args) {

                Screen s=new Screen();
                try{
                        s.click("txt_image.png");
                        s.find("doc_image.png");
                }
                catch(FindFailed e){
                        e.printStackTrace();
                }
                s.type("doc_image.png","This is Nice Sikuli Tutorial!!!!");

        }

}
-----

Tried to look on google, stacksoverflow, and even similar questions here but am 
sill stuck on this.

OS si Windows 7, 64 bits. JRE is 1.6.0_22.

Thanks for your time,

Augusto.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to