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 o

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", ) .

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: r

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 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 takeShot("some-path/.../some-name.p

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.

[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: . . . monthView(