sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #55078
Re: [Question #690954]: findText("string") not working with Sikulixapi 2.0.4
Question #690954 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690954
Summary changed to:
findText("string") not working with Sikulixapi 2.0.4
Description changed to:
This is my code
Settings.OcrTextRead = true;
Settings.OcrTextSearch = true;
Region RegionShapeMarkup = new Region(4,4,269,165);
String TextBoxLabelName= "Shape";
Match TextBoxLabelNameFound = RegionShapeMarkup.find(TextBoxLabelName);
if (TextBoxLabelNameFound != null)
{
RegionShapeMarkup.click (TextBoxLabelNameFound.offset(0, -30));
}
the script fails with error
FindFailed: Shape.png: (0x0) in R[4,4 269x165]@S(0)
even though searching for text, script fails with error shape.png not
found.
Test environment:
Windows 10 64bit, JAVA11
Any help on this issue will be appreciated.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.