[Sikuli-driver] [Question #240570]: Screenshot after test execution

2013-12-10 Thread Leonardo Carvalho Sobral dos Santos
New question #240570 on Sikuli: https://answers.launchpad.net/sikuli/+question/240570 Hi, I'd like to know, how can I do to after each test execution, sikuli take a Screenshot. For example; actually I'm doing like this; testOk = 0; testNok = 0; try: . . .

Re: [Sikuli-driver] [Question #240570]: Screenshot after test execution

2013-12-10 Thread Leonardo Carvalho Sobral dos Santos
Question #240570 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240570 Leonardo Carvalho Sobral dos Santos posted a new comment: I'm using Sikuli ide -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #240570]: Screenshot after test execution

2013-12-10 Thread RaiMan
Question #240570 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240570 Status: Open = Answered RaiMan proposed the following answer: def takeShot(filename): import shutil shutil.move(capture(SCREEN), filename)) ... and then use

Re: [Sikuli-driver] [Question #240570]: Screenshot after test execution

2013-12-10 Thread Leonardo Carvalho Sobral dos Santos
Question #240570 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240570 Status: Answered = Open Leonardo Carvalho Sobral dos Santos is still having a problem: Ok, I'm using Sikuli ide to make scripts This is a part of my scripts; def monthView(): try:

Re: [Sikuli-driver] [Question #240570]: Screenshot after test execution

2013-12-10 Thread Leonardo Carvalho Sobral dos Santos
Question #240570 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240570 Leonardo Carvalho Sobral dos Santos gave more information on the question: i did def printScreen(filename): try: import shutil shutil.move(capture(SCREEN),filename)) except:

Re: [Sikuli-driver] [Question #240570]: Screenshot after test execution

2013-12-10 Thread RaiMan
Question #240570 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240570 Status: Open = Answered RaiMan proposed the following answer: -- 1. sorry my fault, but ... stopped with error in line 6 at column 45 [error] SyntaxError ( mismatched input ')' expecting NEWLINE, ) ...

[Sikuli-driver] [Bug 1259578] [NEW] classes missing from sikuli-java.jar

2013-12-10 Thread p.elsie
Public bug reported: I am trying to migrate my Java project from its current dependency on 1.0rc3 to 1.0.1. I assumed that I am supposed to use sikuli-java.jar in place of sikuli-script.jar. When I tell my IDE (IntelliJ) to use this as a library it shows errors all over the place. When I open

[Sikuli-driver] [Bug 1259578] Re: classes missing from sikuli-java.jar

2013-12-10 Thread RaiMan
If you have sikuli-java.jar in your project dependencies, you should be able to browse through the contents. No need to unzip. In fact, some classes, that where in the package org.sikuli.script before, but never where intended to be part of the official API, have been moved to org.sikuli.basics

Re: [Sikuli-driver] [Question #240570]: Screenshot after test execution

2013-12-10 Thread Leonardo Carvalho Sobral dos Santos
Question #240570 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240570 Status: Answered = Solved Leonardo Carvalho Sobral dos Santos confirmed that the question is solved: Thank you!!! Working well!!! -- You received this question notification because you are a member

[Sikuli-driver] [Bug 1259578] Re: classes missing from sikuli-java.jar

2013-12-10 Thread p.elsie
That made my refactoring go much smoother. I just had to: * use java.util.logging * not catch FindFailed (bummer - I had some explicit error messaging) * Implement my own Env class for detecting OS type, 32/64bit, screen-tiles/start-menu Hopefully everything works now. Thanks very much. --

[Sikuli-driver] [Bug 1259578] Re: classes missing from sikuli-java.jar

2013-12-10 Thread p.elsie
Actually it was only on the type(String text) and paste(String text) methods where I removed the FindFailed catch blocks. It makes sense that those don't throw FindFailed exceptions anymore. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to

[Sikuli-driver] [Question #240592]: Input text field or input field that maintains formatting

2013-12-10 Thread dude
New question #240592 on Sikuli: https://answers.launchpad.net/sikuli/+question/240592 I'm wondering if it's possible to make a text field pop-up box like input but with multiple lines that retains formatting. When I'm copying and pasting stuff into an input field the output always ends up being

Re: [Sikuli-driver] [Question #240567]: java7 is not supporting fow windows 64 bit

2013-12-10 Thread William Grant
Question #240567 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240567 Project: Launchpad itself = Sikuli -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #240567]: java7 is not supporting fow windows 64 bit

2013-12-10 Thread kishore
Question #240567 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240567 Status: Open = Solved kishore confirmed that the question is solved: I could do this using Sikuli Setup.jar instead of Sikuli-X-1.0rc3(r905)-win32.zip. Problem is solved -- You received this question