Re: [Sikuli-driver] [Question #169128]: writting to file, reading from file, string parsing in Sikuli IDE?

2011-08-25 Thread vitalliuss
Question #169128 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169128 Status: Open => Answered vitalliuss proposed the following answer: To write a file use the following: text = "some text here" f = open(filename, 'w') f.write(text) f.flush() f.close() To read file use

Re: [Sikuli-driver] [Question #169074]: Is there a way to take snpashot during sikuli tests ?

2011-08-25 Thread vitalliuss
Question #169074 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169074 Status: Open => Answered vitalliuss proposed the following answer: Try this: import shutil import os f = capture(getBounds()) #take screenshot shutil.move(f, destination + name) #save as image

Re: [Sikuli-driver] [Question #169074]: Is there a way to take snpashot during sikuli tests ?

2011-08-25 Thread gregory
Question #169074 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169074 Status: Answered => Solved gregory confirmed that the question is solved: it works perfectly. Thank you very much. -- You received this question notification because you are a member of Sikuli Drivers,

Re: [Sikuli-driver] [Question #168563]: How to get actual image if the expected image was not found

2011-08-25 Thread belemekadem yassine
Question #168563 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/168563 belemekadem yassine posted a new comment: Thank you RaiMan. I suppose that "exists(Pattern(img).similar(0.8))" take a screen shot a compare the given image with the screen shot. My question is: The image r

[Sikuli-driver] [Bug 833748] [NEW] scroll buttons are enabled unnecessarily in Test Trace without any data

2011-08-25 Thread Charles Pradeep
Public bug reported: 1.version:Sikuli X-1.0rc2 2.Microsoft Windows XP Professional,32-bit,version 2002 Service Pack 3 3.Steps to reproduce: -Open a new sikuli window -Click Test Trace tab and check whether the scroll buttons are enable or not ** Affects: sikuli Importance: Undecided

Re: [Sikuli-driver] [Question #169111]: testcases don't appear under the "Unit Test" "Tests" tab

2011-08-25 Thread Tsung-Hsiang Chang
Question #169111 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169111 Status: Open => Answered Tsung-Hsiang Chang proposed the following answer: Have you read this? http://sikuli.org/docx/faq/020-unit-test.html -- You received this question notification because you are a

[Sikuli-driver] [Question #169153]: (Chinese (Traditional)) Alt+Shift+C can't stop the running script

2011-08-25 Thread Kadok0520
A question was asked in a language (Chinese (Traditional)) spoken by none of the registered Sikuli answer contacts. https://answers.launchpad.net/sikuli/+question/169153 Alt+Shift+C can't stop the running script I am not sure that the status of my running script i hope that add some flash-icon

[Sikuli-driver] [Question #169156]: (Chinese (Traditional)) 找不到圖片

2011-08-25 Thread Kadok0520
A question was asked in a language (Chinese (Traditional)) spoken by none of the registered Sikuli answer contacts. https://answers.launchpad.net/sikuli/+question/169156 發生過很多次如此情形 首次編輯script後,想馬上按上面的按鈕來試跑 結果……常常發生找不到圖片的情形 下面的狀態欄出現該圖片在 tmp目錄裡 目前的解決方法是,編script,然後存檔,關閉sikuli 再重新開sikuli,打開舊檔,才能

[Sikuli-driver] [Question #169173]: Eclipse/Sikuli/Win7 64... using XP mode?

2011-08-25 Thread eliteSKL
New question #169173 on Sikuli: https://answers.launchpad.net/sikuli/+question/169173 Question: Does anyone know, if i install Windows XP mode on my Win7 64 machine that i can get a successful Eclipse/Sikuli X setup running inside of Windows XP mode, without having to compile from source? Ba

Re: [Sikuli-driver] [Question #154552]: OCR issues

2011-08-25 Thread Jeff Sant
Question #154552 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/154552 Jeff Sant requested more information: Can you please send me text recognizer class and the code, as i need to fix it for my issue. Thank you -- You received this question notification because you are a mem

[Sikuli-driver] [Bug 834020] [NEW] screenshot not working

2011-08-25 Thread Dylan Moreland
Public bug reported: I hit "take screenshot" or "click (picture icon)" or ctrl-shift-2, but when I do it gives me a bunch of JavaScript errors. Maybe the download was corrupted? It seems to me that Sikuli is missing a directory somewhere. Thanks for helping! Technical data: Sikuli version: Sikul

[Sikuli-driver] [Question #169194]: How do you keep a Swing GUI open after end of script?

2011-08-25 Thread Brian Parma
New question #169194 on Sikuli: https://answers.launchpad.net/sikuli/+question/169194 If you take the first example from SwingExamples: >from javax.swing import JFrame >JFrame('Hello, World!', defaultCloseOperation=JFrame.EXIT_ON_CLOSE, size=(300, >300), locationRelativeTo=None).setVisible(True)

Re: [Sikuli-driver] [Question #169111]: testcases don't appear under the "Unit Test" "Tests" tab

2011-08-25 Thread Dimitre
Question #169111 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169111 Status: Answered => Solved Dimitre confirmed that the question is solved: Yep - but there is not enough information. I have solved the problem. There were errors in the script due to the commenting. It

Re: [Sikuli-driver] [Question #168793]: How sikuli read .csv to form ?

2011-08-25 Thread Brian Parma
Question #168793 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/168793 Status: Open => Answered Brian Parma proposed the following answer: You can use standard file I/O calls, so you could either manually read and parse your .csv file, which shouldn't be very difficult (usi

[Sikuli-driver] [Bug 697604] Re: [request] message concept for stdout/sterr

2011-08-25 Thread Denise Brooks
Yay! This is finally going to get fixed. Btw, I tried turning off every message that I could, but there is currently no way to turn off the PyramidTemplateMatcher message. I'm watching it scroll across my console right now. I am really looking forward to being able to see my own print output withou

Re: [Sikuli-driver] [Question #169111]: testcases don't appear under the "Unit Test" "Tests" tab

2011-08-25 Thread Tsung-Hsiang Chang
Question #169111 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169111 Tsung-Hsiang Chang posted a new comment: This looks like a bug. Can you give us a sample code that produces this problem so we can fix it? Thanks. -- You received this question notification because you ar

Re: [Sikuli-driver] [Question #169111]: testcases don't appear under the "Unit Test" "Tests" tab

2011-08-25 Thread Dimitre
Question #169111 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169111 Dimitre posted a new comment: Thanks Tsung-Hsiang Chang. I wonder whether there is a way to attach files to the question? The problem is for example: #wait(, 2) Up to and including <> everything is commente

Re: [Sikuli-driver] [Question #169201]: Want to use the computer while running Sikuli script

2011-08-25 Thread Peter Kim
Question #169201 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169201 Summary changed to: Want to use the computer while running Sikuli script -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. __

[Sikuli-driver] [Question #169201]: Want to use the computer while Sikuli IDE runs the script ...

2011-08-25 Thread Peter Kim
New question #169201 on Sikuli: https://answers.launchpad.net/sikuli/+question/169201 Hi. While I run a Sikuli script on a computer, I would like to be able to use the computer for doing other things such as checking emails or writing reports. Is this possible? Thanks. -- You received this

Re: [Sikuli-driver] [Question #169111]: testcases don't appear under the "Unit Test" "Tests" tab

2011-08-25 Thread Tsung-Hsiang Chang
Question #169111 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169111 Tsung-Hsiang Chang posted a new comment: You can open a new bug https://bugs.launchpad.net/sikuli/+filebug and attach your code in that bug. Or you just paste the simplest code that causes this problem here.