The captured image appears as "click-to-capture" text when script reloaded
Bug #1219783 reported by
ycollet
This bug report is a duplicate of:
Bug #1218138: [1.0.1 ok] IDE: Using thumbnail view and CommandBar: FindFailed ( can not find __CLICK-TO-CAPTURE__ on the screen. ) --- solution.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
New
|
Undecided
|
Unassigned |
Bug Description
I use sikuli 1.0.1 on windows 7 64 bits + java 1.7.0_25 64 bits.
When I create a script (with click macros). In a first place, the images appears correctly in the script, but the script doesn't run. Here is the error message:
[error] Region.find(text): text search is currently switched off
[error] script [ test_1 ] stopped with error in line 3
[error] FindFailed ( Text search currently switched off )
When I reoen the script, the images appear as "CLICK-TO-CAPTURE".
Here is the content of the python script:
openApp("C:/Program Files (x86)/Notepad+
click("
The script directory contains the correct screenshot as a png file.
To post a comment you must log in.
run setup again (preferably empty folder before excluding runSetup.cmd and setup-sikuli.jar), to get a version without this problem (see bug 1218138)