[request] Add a Directory search option to the Pattern search (findAny() ???)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
In Progress
|
Medium
|
RaiMan |
Bug Description
Working on a set of tests that function x-platform using Sikuli-1.0 RC2.
Currently I divide my search images by os (Images, Images_win, Images_osx, Images_lin), and depending on the platform specify Images, and Images_plat as my search directories.
What would be super useful would be that instead of Pattern(file.png) searching for only a specific file, if you could specify a directory name Pattern(
That would simplify searching images that may vary slightly across OS versions or states such as selected.
Ex:
So if I have the directory Images_win in my search path:
Images_
Images_
Images_
Images_
In my test case I specify:
find(Pattern(
Sikuli searches for each image in the directory until it finds a match.
Changed in sikuli: | |
status: | Invalid → New |
Changed in sikuli: | |
status: | New → In Progress |
importance: | Undecided → Wishlist |
assignee: | nobody → RaiMan (raimund-hocke) |
tags: | added: fkt-pattern |
Changed in sikuli: | |
importance: | Wishlist → Medium |
milestone: | none → x1.1 |
Changed in sikuli: | |
milestone: | 1.1.0 → 1.2.0 |
Changed in sikuli: | |
importance: | Medium → Wishlist |
milestone: | 2.0.0 → 2.1.0 |
Changed in sikuli: | |
importance: | Wishlist → Medium |
summary: |
- Add a Directory search option to the Pattern search + [request] Add a Directory search option to the Pattern search (findAny() + ???) |
addImagePath is what you are looking for. sikuli. org/docx/ globals. html?highlight= addimagepath# addImagePath
http://