Re: [Sikuli-driver] [Question #163315]: Using Sikuli for layout/visual testing

2011-07-01 Thread RaiMan
Question #163315 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/163315 Status: Open => Answered RaiMan proposed the following answer: The approach is ok. This snippet has to be run from command line, since only in this case you can use sys.argv. Be aware, that each Sikuli

Re: [Sikuli-driver] [Question #124759]: Can you run Python and call Sikuli from there? --- use XML-RPC

2011-07-01 Thread Michael Wei
Question #124759 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/124759 Michael Wei posted a new comment: Sure, some codes is from net user, hope someone could get better idea from it. Copied here, please save it to c:\InteractiveConsole.py and run it in command (for windows) >>

Re: [Sikuli-driver] [Question #163315]: Using Sikuli for layout/visual testing

2011-07-01 Thread Kandada Boggu
Question #163315 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/163315 Status: Answered => Solved Kandada Boggu confirmed that the question is solved: Thanks for the reply. I was thinking about capturing just the FF content and not the entire desktop. I will surely use the

Re: [Sikuli-driver] [Question #124759]: Can you run Python and call Sikuli from there? --- use XML-RPC

2011-07-01 Thread RaiMan
Question #124759 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/124759 RaiMan posted a new comment: great. thanks. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___

Re: [Sikuli-driver] [Question #163315]: Using Sikuli for layout/visual testing

2011-07-01 Thread RaiMan
Question #163315 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/163315 RaiMan posted a new comment: It would be nice, if you give some comments on your selected solution of "eager loading" and how you integrated this into your Cocumber scenarios, when it is ready. -- You recei

Re: [Sikuli-driver] [Question #163277]: Using images from dictionaries in unit tests

2011-07-01 Thread RaiMan
Question #163277 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/163277 Status: Open => Answered RaiMan proposed the following answer: Using the test feature in the IDE is a bit tricky, when trying to use import, user defined functions to be used in the test cases or global

Re: [Sikuli-driver] [Question #163277]: Using images from dictionaries in unit tests

2011-07-01 Thread Calle Rundgren
Question #163277 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/163277 Status: Answered => Solved Calle Rundgren confirmed that the question is solved: Thanks RaiMan. I will check this workaround out. I have already been checking pythons unittest out, but not in this pertic

Re: [Sikuli-driver] [Question #163277]: Using images from dictionaries in unit tests

2011-07-01 Thread Calle Rundgren
Question #163277 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/163277 Calle Rundgren confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contac

Re: [Sikuli-driver] [Question #162469]: Portable Sikuli Scripts?

2011-07-01 Thread RaiMan
Question #162469 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/162469 Status: Open => Answered RaiMan proposed the following answer: to simulate the situation on another machine, where Sikuli is not installed, I suggest as an example the following setup: -- we have a dire

Re: [Sikuli-driver] [Question #162469]: Portable Sikuli Scripts?

2011-07-01 Thread Vaibhav thakur
Question #162469 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/162469 Status: Answered => Solved Vaibhav thakur confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Dr

[Sikuli-driver] [Question #163412]: Copy Multiple Login Details From A text file and Login?

2011-07-01 Thread Joe Harris
New question #163412 on Sikuli: https://answers.launchpad.net/sikuli/+question/163412 Hello. So I want Sikuli Login into email account by the login details present in a notepad file. Actually, Multiple Login details of the same account. I can manage the login and logout part. But how to make it

Re: [Sikuli-driver] [Question #162592]: How to Copy text from a regions?

2011-07-01 Thread Joe Harris
Question #162592 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/162592 Status: Answered => Open Joe Harris is still having a problem: I tried I cannot do that, it always give me error or copy whole stuff from the screen this is code which gives me error text("region from w

Re: [Sikuli-driver] [Question #162596]: How to Change the popup title from sikuli to Something?

2011-07-01 Thread Joe Harris
Question #162596 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/162596 Status: Answered => Open Joe Harris is still having a problem: Weird it always tells me Wrong pass. I'm pretty sure, I have typed the correct password. What the heck, Sikuli don't play with me. :p Please

Re: [Sikuli-driver] [Question #162596]: How to Change the popup title from sikuli to Something?

2011-07-01 Thread RaiMan
Question #162596 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/162596 Status: Open => Needs information RaiMan requested more information: pls paste your script here -- You received this question notification because you are a member of Sikuli Drivers, which is an answer

Re: [Sikuli-driver] [Question #162592]: How to Copy text from a regions?

2011-07-01 Thread RaiMan
Question #162592 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/162592 Status: Open => Answered RaiMan proposed the following answer: the usage is: theText = find("some-image").text() paste("region to paste text", theText) pls. look into docs: http://sikuli.org/docx/ --

Re: [Sikuli-driver] [Question #163412]: Copy Multiple Login Details From A text file and Login?

2011-07-01 Thread RaiMan
Question #163412 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/163412 Status: Open => Answered RaiMan proposed the following answer: --- select email: look at the docs: http://sikuli.org/docx/globals.html#controlling-applications-and-their-windows --- read from notepad f

[Sikuli-driver] [Question #163440]: i want to repeat my loop

2011-07-01 Thread aaysh
New question #163440 on Sikuli: https://answers.launchpad.net/sikuli/+question/163440 wait( , FOREVER) sleep(2) click( ) sleep(2) click( ) This is my code i wanna repeat This whole proccess 100 times as it is please provide code as i am new in sikuli and weak in coding -- You received this

Re: [Sikuli-driver] [Question #103829]: Click at coords (x, y)

2011-07-01 Thread Andrew Valancius
Question #103829 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/103829 Andrew Valancius posted a new comment: how can this be the only good way to do it? Sikuli is a macro program but the simple act of clicking a single set of coordinates takes 5 damn lines? Ridiculous. -- You

Re: [Sikuli-driver] [Question #103829]: Click at coords (x, y)

2011-07-01 Thread Tsung-Hsiang Chang
Question #103829 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/103829 Tsung-Hsiang Chang posted a new comment: click(Location(100,100)) is what you want. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Siku

Re: [Sikuli-driver] [Question #163440]: i want to repeat my loop

2011-07-01 Thread Willie
Question #163440 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/163440 Willie proposed the following answer: Can you edit posts??? Anyways, ignore those ellipses (...), those should not be typed -- You received this question notification because you are a member of Sikuli Dri

Re: [Sikuli-driver] [Question #163440]: i want to repeat my loop

2011-07-01 Thread Willie
Question #163440 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/163440 Willie posted a new comment: Can you edit posts??? Anyways, ignore those ellipses (...), those should not be typed -- You received this question notification because you are a member of Sikuli Drivers, whi

Re: [Sikuli-driver] [Question #163440]: i want to repeat my loop

2011-07-01 Thread Willie
Question #163440 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/163440 Status: Open => Answered Willie proposed the following answer: Link from the documentation: http://www.jython.org/jythonbook/en/1.0/LangSyntax.html#for-loop This should be the one you want: for x in r

[Sikuli-driver] [Question #163463]: Set clipboard without actually pasting

2011-07-01 Thread Willie
New question #163463 on Sikuli: https://answers.launchpad.net/sikuli/+question/163463 Hey is there any way that I can use a command like paste() to just load some text into the clipboard without actually pasting it yet? I'm trying to paste text into a command prompt, but when I use paste() it ju

Re: [Sikuli-driver] [Question #163463]: Set clipboard without actually pasting

2011-07-01 Thread Willie
Question #163463 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/163463 Status: Open => Solved Willie confirmed that the question is solved: Sorry, found it: Clipboard.putText("text") -- You received this question notification because you are a member of Sikuli Drivers, w

Re: [Sikuli-driver] [Question #163463]: Set clipboard without actually pasting

2011-07-01 Thread Willie
Question #163463 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/163463 Status: Solved => Open Willie is still having a problem: Ok, I'm coding using Sikuli in Java and although the first time I set the clipboard it seems to work, after that I get a "java.lang.IllegalStateEx

Re: [Sikuli-driver] [Question #163440]: i want to repeat my loop

2011-07-01 Thread aaysh
Question #163440 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/163440 Status: Answered => Open aaysh is still having a problem: I want code i am unable to understand please solve my problem just paste the loop code here for above problem -- You received this question no

Re: [Sikuli-driver] [Question #163440]: i want to repeat my loop

2011-07-01 Thread Willie
Question #163440 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/163440 Status: Open => Answered Willie proposed the following answer: for x in range(r): [your code here] ^ will loop r+1 times, setting the variable x to an incremental number each time (x begins at 0, end

Re: [Sikuli-driver] [Question #163440]: i want to repeat my loop

2011-07-01 Thread RaiMan
Question #163440 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/163440 RaiMan proposed the following answer: @ Willie: for i in range(n): will loop exactly n times beginning with 0 and ending with n-1 This corresponds with the fact that list indexing (arrays) starts with 0: a