Re: [Sikuli-driver] [Question #189054]: how to generate sequential numbers as my script saves screen grabs

2012-02-28 Thread RaiMan
Question #189054 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/189054 Status: Open = Answered RaiMan proposed the following answer: trying hard ;-) to identify the code block, that should be repeated, I suggest the following: click(READING-5.png) for pnum in

Re: [Sikuli-driver] [Question #189054]: how to generate sequential numbers as my script saves screen grabs

2012-02-28 Thread RaiMan
Question #189054 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/189054 RaiMan proposed the following answer: Forgot to mention: The above loop starts with 1 and counts to the given second value -1 (in this case 399) -- You received this question notification because you are

[Sikuli-driver] [Question #189075]: screen.usercapture method is taking long time

2012-02-28 Thread Naveen
New question #189075 on Sikuli: https://answers.launchpad.net/sikuli/+question/189075 Hi , The following is the issue I am facing : I am calling screen.userCapture() method from my java code . I have written code to take a screen shot upon clicking a button . It works fine for the first time ,

Re: [Sikuli-driver] [Question #189075]: screen.usercapture method is taking long time

2012-02-28 Thread RaiMan
Question #189075 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/189075 Status: Open = Needs information RaiMan requested more information: any error messages, that could be helpful? paste the relevant part of your Java code. -- You received this question notification

Re: [Sikuli-driver] [Question #189054]: how to generate sequential numbers as my script saves screen grabs

2012-02-28 Thread grey grey
Question #189054 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/189054 Status: Answered = Open grey grey is still having a problem: hi, thanks ...I seem to not quite get your help... the whole 23 lines I sent you is supposed to run and then all 23 repeat. What I have the

Re: [Sikuli-driver] [Question #189054]: how to generate sequential numbers as my script saves screen grabs

2012-02-28 Thread RaiMan
Question #189054 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/189054 Status: Open = Answered RaiMan proposed the following answer: ok, thanks for the info. Then put the following line in the first line of your script (this counts from 1 and steps by 2): for pnum in

[Sikuli-driver] [Question #189093]: Loop doesnt work

2012-02-28 Thread shankar ganesh
New question #189093 on Sikuli: https://answers.launchpad.net/sikuli/+question/189093 Hi, Some one please help on the below code. I am testing a application screen of POS device via emulator. the screen has 10 radio buttons which i am trying to automate through the following code.the loop runs

Re: [Sikuli-driver] [Question #189092]: A Simple Region.onChange request

2012-02-28 Thread RaiMan
Question #189092 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/189092 Status: Open = Answered RaiMan proposed the following answer: this should work. def test_exampleTest(self): nav = Region(Region(569,809,144,36)) def changeHandler(event):printwork ya

[Sikuli-driver] [Question #189092]: A Simple Region.onChange request

2012-02-28 Thread Tim Brayne
New question #189092 on Sikuli: https://answers.launchpad.net/sikuli/+question/189092 Firstly still somewhat a beginner with sikuli and python so please bear with me. I am writing automation tests for a flash app and i simple want to print a message every time i navigate a menu and the menu icon

Re: [Sikuli-driver] [Question #189093]: Loop doesnt work

2012-02-28 Thread RaiMan
Question #189093 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/189093 Status: Open = Answered RaiMan proposed the following answer: Without having a screenshot and knowing the captures, it is hard to know, what your script does. But I can say the following: If you do

Re: [Sikuli-driver] [Question #189092]: A Simple Region.onChange request

2012-02-28 Thread Tim Brayne
Question #189092 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/189092 Status: Answered = Solved Tim Brayne confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli

[Sikuli-driver] [Question #189121]: How to use Sikuli in Visual studio 2010 with C# and selenium?

2012-02-28 Thread Andrew Tayler
New question #189121 on Sikuli: https://answers.launchpad.net/sikuli/+question/189121 Our Selenium tests are written in C# in visual studio 2010 and I have not found a way to get it to work with Sikuli. Any help on this would be great and much appreciated. Thanks, Andrew -- You received

Re: [Sikuli-driver] [Question #189121]: How to use Sikuli in Visual studio 2010 with C# and selenium?

2012-02-28 Thread RaiMan
Question #189121 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/189121 Status: Open = Answered RaiMan proposed the following answer: since the relevant API is written in Java, no way, to use it directly. You might have a look at the Java Access Bridge from Oracle. The

Re: [Sikuli-driver] [Question #189054]: how to generate sequential numbers as my script saves screen grabs

2012-02-28 Thread grey grey
Question #189054 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/189054 Status: Answered = Open grey grey is still having a problem: Once again, many thanks!, I have done as you described and it now works perfectly. here is a slightly different question. Since I am, as I

[Sikuli-driver] [Question #189128]: Check if exists() by smaller photo

2012-02-28 Thread Pepper Girl
New question #189128 on Sikuli: https://answers.launchpad.net/sikuli/+question/189128 Hi, I am thinking to use exists() function to check if a photo in my HD exists on the screen. However, the photo size I have in the HD is smaller than the one on the screen. Taking for an exmaple, the photo

Re: [Sikuli-driver] [Question #186195]: Using Region.text() to get text in dragDrop selection

2012-02-28 Thread Pepper Girl
Question #186195 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/186195 Status: Answered = Solved Pepper Girl confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli

[Sikuli-driver] [Question #189137]: How do I create a swipe in a mobile app simulator

2012-02-28 Thread Steve Brown
New question #189137 on Sikuli: https://answers.launchpad.net/sikuli/+question/189137 I need to create both vertical swipe and horizontal swipe in a mobile app simulator. I have tried the various answers I found on the site but none worked for me. -- You received this question

[Sikuli-driver] [Bug 940086] Re: Sikuli close automatically when try to capture screenshot

2012-02-28 Thread Meikel Brandmeyer
I suffer from the same bug. Same system, same sikuli version. Java Info: java version 1.7.0 Java(TM) SE Runtime Environment (build 1.7.0-b147) Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode, sharing) Trace: % java -Dsikuli.console=false -jar D:\Brandmeyer\Applications\Sikuli X

Re: [Sikuli-driver] [Question #189121]: How to use Sikuli in Visual studio 2010 with C# and selenium?

2012-02-28 Thread Andrew Tayler
Question #189121 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/189121 Status: Answered = Solved Andrew Tayler confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli

[Sikuli-driver] [Bug 567303] Re: Use of __file__ gives NameError

2012-02-28 Thread Brentmeister
Hi RaiMain, I am not sure this is a valid fix. __file__ is also set by the import statement. This is from python.org's reference: http://docs.python.org/reference/simple_stmts.html The loader must set several attributes on the module. __name__ is to be set to the name of the module. __file__

[Sikuli-driver] [Bug 514100] Re: IllegalThreadStateException - Executable not working correctly

2012-02-28 Thread Bob Stucky
Seeing this error in Python threads. When this exception is thrown, all finds executed on that thread return positive regardless of the actual state -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli.

Re: [Sikuli-driver] [Question #186002]: Extracting from text file and writing the same in to the application filelds

2012-02-28 Thread shankar ganesh
Question #186002 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/186002 Status: Answered = Solved shankar ganesh confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli