setBundlePath when using Eclipse?
I have been working on setting up eclipse to be my main Sikuli IDE, I followed the steps outlined in the documentation http://
Here is the script I am running:
from sikuli.Sikuli import *
setBundlePath(
def setup():
menus = find("EIMZSROFL
menu = Region(menus)
menu.
def search():
searchArea = find("SearchBox
searches = Region(searchArea)
searches.
wait(0.5)
searches.
searches.
wait(1)
if not exists(
raise Exception("Can't find the results of the search")
def openTicket():
results = find("Dubleddma
r = Region(results)
r.click(
r.doubleCli
ctw = find("CreateTic
ctr = Region(ctw)
ctr.
ctr.
ctr.
wait(
def addNote():
tw = find("Detailsf0
tr = Region(tw)
tr.
tr.
tr.
if not tr.exists(
raise Exception("Did not add CSR note or cannot find it")
elif tr.exists(
tr.
def reset():
wait(1)
cw = find("ROFLCopte
cr = Region(cw)
cr.
cr.
global events
events = []
theTests = [setup, search, openTicket, addNote, reset]
for test in theTests:
try:
test()
except:
error = str(sys.
print events
I am getting errors like these:
[error] EIMZSROFLC0p.png looks like a file, but can't be found on the disk. Assume it's text.
[error] SearchBoxes.png looks like a file, but can't be found on the disk. Assume it's text.
any ideas?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Harry Readinger
- Solved:
- Last query:
- Last reply: