[2.0.5] findText() or find("some text") not working --- workaround
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
In Progress
|
Medium
|
RaiMan |
Bug Description
tracked on GitHub: https:/
*******
findText() and find("some text") are supported by the same implementation, which currently does not work well.
This is a bug and will be fixed in 2.0.6
Until then try to solve your problem with findWord, findWords, findLine and findLines features
*******
This is my code
Region RegionShapeMarkup = new Region(
String TextBoxLabelName= "Shape";
Match TextBoxLabelNam
if (TextBoxLabelNa
{
}
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.
description: | updated |
Changed in sikuli: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | none → 2.0.5 |
summary: |
- findText() or find("some text") not working with Sikuli 2.0.4 + [2.0.4] findText() or find("some text") not working --- workaround |
description: | updated |
Changed in sikuli: | |
status: | In Progress → Fix Committed |
importance: | Medium → High |
Changed in sikuli: | |
status: | Fix Committed → In Progress |
Changed in sikuli: | |
importance: | High → Medium |
Find below thread for more details
https:/ /answers. launchpad. net/sikuli/ +question/ 690954