← Back to team overview

sikuli-driver team mailing list archive

[Question #221083]: Can any tel me whether it is possible to call sikuli methods like(find(), click(), wait()) in ruby? if yes, can u show me simple code snippet. I am beginner in ruby

 

New question #221083 on Sikuli:
https://answers.launchpad.net/sikuli/+question/221083

Hi, I am able to use sikuli methods in python. But no idea about using in ruby. My professor told me to use ruby instead of python. So, can some1 could help me out with this. Small code snippet or steps would be appreciated.
If i want to use below python code in ruby, what all changes i have to make?

from sikuli.Sikuli import *
from sikuliwrapper import *

class abc(object):
        def _init_(self):
                self.appCoordinates = (0,0,1024,768)

      def action(self, *args):
               find("abc.png")
               click("select.png")


-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.