sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #11157
[Question #200342]: How to "Include" common image files and run it from the Sikuli IDE
New question #200342 on Sikuli:
https://answers.launchpad.net/sikuli/+question/200342
We are running our scripts from the command line using a script It collects script passed to it and does some setup and runs it
./sikuli-jar.sh test.sikuli
We have a common image file that works with the command line. When this is runs together it works.
I woudl like to development my script in the Sikuli IDE and use the common image lib that is created in with the command line. Is there a way to do this?
I tried to place the command "from myLib.image import img" at the beginning of the script, but it can not find any button I have definded in the common image file. Do I need to add anything else like image path ?
My common image file is created like
img = {
# Client specific images
'button_search' : 'button_search.png',
'button_signin' : 'button_signin.png',
'button_blue_follow' : 'button_blue_follow.png',
'button_unfollow' : 'button_unfollow.png',
'button_close' : 'button_close.png',
'button_recent_chats' : 'button_recent_chats.png',
'button_clear_hist' : 'button_clear_history.png',
'button_paperclip' : 'button_paperclip.png',
'button_count' : 'button_count.png',
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.