← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #160003]: Global variables and functions argument in unittest

 

Question #160003 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/160003

    Status: Answered => Open

Sebastian is still having a problem:
Hi, 
1. this is clear - thanks for help. 
2. Unfortunately i still don't  know how can I write my own method.  Until now I've wrote something like this : 

def myMethod(self) 
 print "this is my method"
 click(someButton.png)
 
and I call it : 

def  test_some(self)
 self.myMethod() 
 ....

It works, but now I want to pass more arguments  e.g. I want to write my
own method for typing some text and as argument pass text  that will be
typed. Could you please give me some example ?

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