Re: [Sikuli-driver] [Question #679602]: How to run a .sql script on sikuli

2019-03-28 Thread Roman Podolyan
Question #679602 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679602 Roman Podolyan posted a new comment: Sikuli allows you to call external command line script (documented OS-dependent functionality). I think if you can write something able to do the job after being

Re: [Sikuli-driver] [Question #678737]: Where to get SikuliX.app for Mac?

2019-02-23 Thread Roman Podolyan
Question #678737 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678737 Status: Open => Answered Roman Podolyan proposed the following answer: SikuliX.app was created on Mac bu installation .jar file. As far as I see in docs, you don't get and don't need it with vers

Re: [Sikuli-driver] [Question #678458]: I can't implement the rest of the function.

2019-02-12 Thread Roman Podolyan
Question #678458 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678458 Roman Podolyan proposed the following answer: 1) if not (exists(a, 0) and exists(ab, 0)): return 2) while time.time() < (start + 3) and exists(a, 0): pass if exists(a

Re: [Sikuli-driver] [Question #678321]: Serious extended delay

2019-02-06 Thread Roman Podolyan
Question #678321 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678321 Roman Podolyan posted a new comment: May be a problem I like I had with 1.1 Launching Sikuli from command line may help (that was a workaround for the same or similar issue I had), but to use

Re: [Sikuli-driver] [Question #676481]: There's some way to "force error" or "failure" for XMLTestRunner?

2018-12-01 Thread Roman Podolyan
Question #676481 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676481 Roman Podolyan posted a new comment: 1) I think you may try to use "assert" instead of if-else, like assert handlerchamado<=0 If statement under assert is correct, script go

Re: [Sikuli-driver] [Question #675931]: SikuliX script run on none active window

2018-11-05 Thread Roman Podolyan
Question #675931 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/675931 Status: Open => Answered Roman Podolyan proposed the following answer: AFAIR I use App.open method for this. = classmethod open(application) Usage: App.open(application) O

Re: [Sikuli-driver] [Question #670987]: Running via batch file showing passwords

2018-07-21 Thread Roman Podolyan
Question #670987 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/670987 Status: Open => Answered Roman Podolyan proposed the following answer: I think you may try redirecting STDout to nul, as described here: https://serverfault.com/questions/132963/windows-redirect-std

Re: [Sikuli-driver] [Question #670562]: how to pass an argument to an imported function in a sikuli script

2018-06-29 Thread Roman Podolyan
Question #670562 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/670562 Status: Open => Answered Roman Podolyan proposed the following answer: Hmmm... To my best knowledge import is not a function but a statement, and you import not function, but a module or submodule.

Re: [Sikuli-driver] [Question #669538]: Script Storage / version control options ?

2018-05-26 Thread Roman Podolyan
Question #669538 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/669538 Roman Podolyan posted a new comment: I'm storing a number of Sikuli modules / images in a Git repository. Any other should fit too. -- You received this question notification because your team Sikuli

Re: [Sikuli-driver] [Question #668881]: How to install sikuliX IDE on Mac 10.12.6

2018-05-15 Thread Roman Podolyan
Question #668881 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/668881 Status: Open => Answered Roman Podolyan proposed the following answer: > [error] script [ Untitled ] stopped with error in line 1 > [error] FindFailed ( 1526337593946.png: (99x29) in S(0)[0,0

Re: [Sikuli-driver] [Question #668881]: How to install sikuliX IDE on Mac 10.12.6

2018-05-14 Thread Roman Podolyan
Question #668881 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/668881 Status: Open => Answered Roman Podolyan proposed the following answer: > [error (5/14/18 10:05:29 AM)] FileManager: problems while downloading > Unable to tunnel through proxy. Proxy returns

Re: [Sikuli-driver] [Question #668881]: How to install sikuliX IDE on Mac 10.12.6

2018-05-12 Thread Roman Podolyan
Question #668881 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/668881 Status: Open => Answered Roman Podolyan proposed the following answer: The links are provided in the Overview "tab" https://launchpad.net/sikuli Sikuli is a visual technology to autom

Re: [Sikuli-driver] [Question #668839]: endless loop

2018-05-11 Thread Roman Podolyan
Question #668839 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/668839 Status: Open => Needs information Roman Podolyan requested more information: This code _must_ produce endless loop if picture b does not exist at the time of its execution. I don't know why man

Re: [Sikuli-driver] [Question #668792]: MoveMouseDelay=0 cause error

2018-05-10 Thread Roman Podolyan
Question #668792 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/668792 Status: Open => Answered Roman Podolyan proposed the following answer: Use Settings.MoveMouseDelay = 0.1 (Picked that from other topic, https://answers.launchpad.net/sikuli/+question/295

Re: [Sikuli-driver] [Question #668564]: how can I split a string

2018-05-05 Thread Roman Podolyan
Question #668564 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/668564 Roman Podolyan posted a new comment: Hello Marc. Your initial problem was that string is needed for string.split to work, and Match type does not convert automatically. To get string from Match (or any

Re: [Sikuli-driver] [Question #665281]: Prevent abrupt program shutdown

2018-03-05 Thread Roman Podolyan
Question #665281 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/665281 Roman Podolyan posted a new comment: More information on handling exceptions in Python / Jython can be found here: https://docs.python.org/2/tutorial/errors.html#handling-exceptions -- You received

Re: [Sikuli-driver] [Question #665281]: Prevent abrupt program shutdown

2018-03-05 Thread Roman Podolyan
Question #665281 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/665281 Status: Open => Answered Roman Podolyan proposed the following answer: If the problem is really that simple, you need just to put Hover into try-except block, and catch FindFailed exception In

Re: [Sikuli-driver] [Question #663380]: Error of 2nd arg can't be coerced to String[] when try to use sys.argv

2018-01-22 Thread Roman Podolyan
Question #663380 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663380 Status: Open => Answered Roman Podolyan proposed the following answer: The error is about Python / Jython not able to convert mylist to string automatically. It looks like it wants to unpack tu

Re: [Sikuli-driver] [Question #663191]: How to Go-to-line in the IDE

2018-01-17 Thread Roman Podolyan
Question #663191 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663191 Status: Open => Answered Roman Podolyan proposed the following answer: 1) You can use other IDE to navigate the script. Sikuli scripts could be edited with PyCharm, and they can be even

Re: [Sikuli-driver] [Question #661348]: Progam slowing down - MouseDown: extended delay

2018-01-05 Thread Roman Podolyan
Question #661348 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661348 Roman Podolyan posted a new comment: @RaiMan > use this to start the IDE from a command line: > java -jar /Applications/SikuliX.app/Contents/Java/sikulix.jar Thanks a lot, seems working! -- You re

Re: [Sikuli-driver] [Question #661348]: Progam slowing down - MouseDown: extended delay

2018-01-04 Thread Roman Podolyan
Question #661348 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661348 Roman Podolyan posted a new comment: I've got a similar problem with even bigger delays. Java 8 too, but Mac OS X. Not game, but the new iOS simulator came with XCode9. Can't find any information apart

Re: [Sikuli-driver] [Question #660935]: Is it possible to use Sikuli inside an already existing Java program, to test THAT program? Or should I always create a new Java program to test my Java program

2017-11-25 Thread Roman Podolyan
Question #660935 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/660935 Roman Podolyan posted a new comment: On one hand I saw Sikuli-based tests working from JUnit methods, so it should be possible. On the other hand I'd still recommend to keep application project and test

Re: [Sikuli-driver] [Question #661046]: How to reuse the code in sikuli

2017-11-25 Thread Roman Podolyan
Question #661046 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661046 Roman Podolyan posted a new comment: Excel supports various export formats. One of the common formats is .csv format. Jython Sikuli is based on supports csv Python module ( http://www.jython.org/docs

Re: [Sikuli-driver] [Question #660919]: I’m getting error like "main" FindFailed with using Sikuli

2017-11-21 Thread Roman Podolyan
Question #660919 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/660919 Roman Podolyan posted a new comment: 1) The exception FindFailed is been thrown when Sikuli cannot find some image on screen. 2) The error text you posted says that exception happened in Region.wait 3

Re: [Sikuli-driver] [Question #660935]: Is it possible to use Sikuli inside an already existing Java program, to test THAT program? Or should I always create a new Java program to test my Java program

2017-11-21 Thread Roman Podolyan
Question #660935 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/660935 Roman Podolyan posted a new comment: 1) Sikuli installation runs some tests after completing install, so it is possible to include test code in a program. 2) From my over 9 years of experience in testing I

Re: [Sikuli-driver] [Question #660708]: Is there any work around ?

2017-11-15 Thread Roman Podolyan
Question #660708 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/660708 Roman Podolyan posted a new comment: Some time ago I was challenged to demo that I can run one and the same code for two implementations of the app, Android and iOS (close business logic but different

Re: [Sikuli-driver] [Question #658728]: How to work around an occasional image

2017-09-30 Thread Roman Podolyan
Question #658728 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/658728 Status: Open => Answered Roman Podolyan proposed the following answer: You have to figure where to put it in your script. As I don't see you full code, I can't. If, say, your code should work fi

Re: [Sikuli-driver] [Question #658728]: How to work around an occasional image

2017-09-30 Thread Roman Podolyan
Question #658728 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/658728 Roman Podolyan proposed the following answer: I think you better not use onAppear / observe() for this purpose. They are expected to wait for image until it appears (that is like wait for image1 until

Re: [Sikuli-driver] [Question #658728]: How to work around an occasional image

2017-09-30 Thread Roman Podolyan
Question #658728 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/658728 Status: Open => Answered Roman Podolyan proposed the following answer: Sorry, David, you weren't clear with requirements. Ok, here is a version with infinite loop. == # Setting similarity

Re: [Sikuli-driver] [Question #658728]: How to work around an occasional image

2017-09-29 Thread Roman Podolyan
Question #658728 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/658728 Status: Open => Answered Roman Podolyan proposed the following answer: == def try_click("1506689574881.png"): try: click("1506689574881.png")

Re: [Sikuli-driver] [Question #658779]: Make script using other scripts

2017-09-29 Thread Roman Podolyan
Question #658779 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/658779 Status: Open => Answered Roman Podolyan proposed the following answer: 1) Using command line ( http://sikulix-2014.readthedocs.io/en/latest/faq/010-command-line.html ) 2) Defining scripts as Pyt

Re: [Sikuli-driver] [Question #658728]: How to work around an occasional image

2017-09-28 Thread Roman Podolyan
Question #658728 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/658728 Roman Podolyan posted a new comment: This code clicks an image if finds it and does nothing if image is not present: == def try_click(our_image): try: click(our_image

Re: [Sikuli-driver] [Question #656821]: working on utf8 character where browser disable paste function

2017-08-24 Thread Roman Podolyan
Question #656821 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/656821 Status: Open => Answered Roman Podolyan proposed the following answer: AFAIK there are Unicode input codes, alt + where d is digit (0-9). See here: ( http://www.utf8-chartable.de/unicode-u

Re: [Sikuli-driver] [Question #654229]: Loading Sikuli script from an URL Steps Required

2017-07-30 Thread Roman Podolyan
Question #654229 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/654229 Roman Podolyan posted a new comment: To synchronize script (and images) between 2 PCs (in my case, but more can be involved) I use 3d party Git repository, which can be updated at any time by calling Git

Re: [Sikuli-driver] [Question #651162]: Is there a way to limit the speed of keystrokes performed when the type() statement is used

2017-07-21 Thread Roman Podolyan
Question #651162 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/651162 Roman Podolyan posted a new comment: Oops, put time module import statement first: import time -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #651162]: Is there a way to limit the speed of keystrokes performed when the type() statement is used

2017-07-21 Thread Roman Podolyan
Question #651162 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/651162 Status: Open => Answered Roman Podolyan proposed the following answer: Fixed and tested example (use some text editor blank document opened on screen for demo) _ def type_slow(data,inter

Re: [Sikuli-driver] [Question #651162]: Is there a way to limit the speed of keystrokes performed when the type() statement is used

2017-07-21 Thread Roman Podolyan
Question #651162 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/651162 Roman Podolyan posted a new comment: I'd go for putting "type" inside loop with letters = list(data) for i in range(0, len(data)-1): type(letters[i]) wait(1) In case one needs more preci

Re: [Sikuli-driver] [Question #647444]: Running sikuli script on different machine

2017-07-11 Thread Roman Podolyan
Question #647444 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/647444 Status: Open => Answered Roman Podolyan proposed the following answer: > Does running it on big monitors or small monitors create any difference? Yes. AFAIK screen density (DPI) matters (and

Re: [Sikuli-driver] [Question #644269]: Sikuli loop statement

2017-06-20 Thread Roman Podolyan
Question #644269 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/644269 Roman Podolyan posted a new comment: First, there should be ":" after if clause. -- You received this question notification because your team Sikuli Drivers is an answer contact

Re: [Sikuli-driver] [Question #640467]: how to run sikuli script as just shortcut or my own program

2017-06-06 Thread Roman Podolyan
Question #640467 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/640467 Roman Podolyan posted a new comment: As Sikuli works on Jython, you may want to look into this: http://www.jython.org/jythonbook/en/1.0/GUIApplications.html As far as I remember, a few years ago, having

Re: [Sikuli-driver] [Question #639821]: old osx

2017-06-03 Thread Roman Podolyan
Question #639821 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/639821 Status: Open => Answered Roman Podolyan proposed the following answer: Checked my old files, and it looks like the version I used in 2011 was x1.0-rc3 (905) ( https://launchpad.net/sikuli/+downl

Re: [Sikuli-driver] [Question #634573]: How to call same image multiple times

2017-05-29 Thread Roman Podolyan
Question #634573 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/634573 Roman Podolyan posted a new comment: P.S. http://sikulix-2014.readthedocs.io/en/latest/region.html#Region.find -- You received this question notification because your team Sikuli Drivers is an answer

Re: [Sikuli-driver] [Question #634573]: How to call same image multiple times

2017-05-29 Thread Roman Podolyan
Question #634573 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/634573 Status: Needs information => Answered Roman Podolyan proposed the following answer: # according to documentation my_match = find("xyz.png") # find returns Match object click(my_match) # cl

Re: [Sikuli-driver] [Question #632939]: Sikuli object identification fails if the browser is not in foreground

2017-05-19 Thread Roman Podolyan
Question #632939 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/632939 Status: Open => Answered Roman Podolyan proposed the following answer: 1) Recently I used switchApp(application) ( http://sikulix-2014.readthedocs.io/en/latest/interaction.html ), on Mac. You

Re: [Sikuli-driver] [Question #632251]: How to create new Keywords on Roboframework integrated with Sikuli

2017-05-15 Thread Roman Podolyan
Question #632251 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/632251 Roman Podolyan posted a new comment: I suggest to read RF tutorials and other documentation. I created own keywords once, but, too bad, now don't remember where that my source code is. What I can say

Re: [Sikuli-driver] [Question #588014]: Is there any Command to run sikuli without opening ide in ubuntu .

2017-03-25 Thread Roman Podolyan
Question #588014 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/588014 Status: Open => Answered Roman Podolyan proposed the following answer: According to documentation ( http://sikulix-2014.readthedocs.io/en/latest/faq/010-command-line.html ) PATH-TO-SIKULIX/runsiku

Re: [Sikuli-driver] [Question #569701]: Simple function to wait for an image before clicking

2017-03-18 Thread Roman Podolyan
Question #569701 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/569701 Status: Open => Answered Roman Podolyan proposed the following answer: Function code (tested): ___ def wait_and_click(my_image, time): wait(my_image, time) click(getLastMa

Re: [Sikuli-driver] [Question #560050]: Need a way to hide/mask password in the debug log

2017-03-18 Thread Roman Podolyan
Question #560050 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/560050 Status: Open => Answered Roman Podolyan proposed the following answer: class Settings New in version X1.0-rc2. Settings.ActionLogs Settings.InfoLogs Settings.DebugLogs Either option mi

Re: [Sikuli-driver] [Question #572439]: It is possible to generate an apk installer for sikuli scripts

2017-03-18 Thread Roman Podolyan
Question #572439 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/572439 Status: Open => Answered Roman Podolyan proposed the following answer: http://sikulix.com/ "Though SikuliX is currently not available on any mobile device, it can be used with the respective e

Re: [Sikuli-driver] [Question #184361]: Popup timeout

2017-03-14 Thread Roman Podolyan
Question #184361 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/184361 Roman Podolyan posted a new comment: > Did you check, wether osascript return anything from the script to command line? Yes. With command lined run via osascript it works as expected and returns 0 or 1 a

Re: [Sikuli-driver] [Question #184361]: Popup timeout

2017-03-03 Thread Roman Podolyan
Question #184361 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/184361 Roman Podolyan posted a new comment: Ok. I'm addding a bit of information here. Sikuli code calling a piece of Apple Script: __ os.popen("osascript ~/Your/Precious/Path/timeout_script

Re: [Sikuli-driver] [Question #184361]: Popup timeout

2017-03-02 Thread Roman Podolyan
Question #184361 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/184361 Roman Podolyan posted a new comment: As far as I see, nothing regarding popup timeout changed since 2012, right? -- You received this question notification because your team Sikuli Drivers is an answer

Re: [Sikuli-driver] [Question #434360]: Find match exit from pool of images using one if condition

2017-01-17 Thread Roman Podolyan
Question #434360 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/434360 Roman Podolyan posted a new comment: > The image what i'm trying to search is mutually exclusive, only one can occur > at time. > If-else-if condition helps in breaking mostly in first event.

Re: [Sikuli-driver] [Question #434360]: Find match exit from pool of images using one if condition

2017-01-17 Thread Roman Podolyan
Question #434360 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/434360 Roman Podolyan posted a new comment: Reference links. Python: https://www.tutorialspoint.com/python/python_dictionary.htm https://docs.python.org/2/tutorial/datastructures.html Java: https

Re: [Sikuli-driver] [Question #434360]: Find match exit from pool of images using one if condition

2017-01-17 Thread Roman Podolyan
Question #434360 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/434360 Status: Open => Answered Roman Podolyan proposed the following answer: 1) I use Python dictionary datatype for that. SikuliX supports dictionaries, including dictionaries for images Demo code (tes

Re: [Sikuli-driver] [Question #429683]: runsikulix under distant Mac

2017-01-17 Thread Roman Podolyan
Question #429683 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/429683 Roman Podolyan posted a new comment: I use Screen Sharing to run Sikuli scripts on remote Mac ( http://www.davidtheexpert.com/post.php?id=5 -- an article about screen sharing). Other VNC solutions also may

Re: [Sikuli-driver] [Question #406565]: How to disable Sikuli from Popping up error message on failure?

2016-12-10 Thread Roman Podolyan
Question #406565 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/406565 Status: Open => Answered Roman Podolyan proposed the following answer: I thing you can build your custom function to decide what you want to do when script cann't find image. Here is a piece of my c

Re: [Sikuli-driver] [Question #402262]: Random number of times around a loop

2016-09-27 Thread Roman Podolyan
Question #402262 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/402262 Roman Podolyan posted a new comment: import random random.seed() for i in range(10): xtimes = random.randint(1, 5) print xtimes for x in range(xtimes): print "x" pri

Re: [Sikuli-driver] [Question #402140]: Possible to repeat the same task but change one variable a field?

2016-09-24 Thread Roman Podolyan
Question #402140 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/402140 Roman Podolyan posted a new comment: You can put any code where popup(line) is now, and that code, be it clicking or whatever, will run as many times as there are lines in file, 5 times for 5 lines, 6 for 6

Re: [Sikuli-driver] [Question #402140]: Possible to repeat the same task but change one variable a field?

2016-09-24 Thread Roman Podolyan
Question #402140 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/402140 Status: Open => Answered Roman Podolyan proposed the following answer: Sure it is. Here is demo-code. __ print sys.path[0] # Prints to console the directory script was launched in f1 = o

Re: [Sikuli-driver] [Question #234720]: [1.0.1] after Sikuli added libs folder to system path, you have to logout/login to activate it

2016-09-14 Thread Roman Podolyan
Question #234720 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/234720 Roman Podolyan posted a new comment: @徐女士 (anne1) You run Windows, don't you? If so, use the software I recommended above, Rapid Environment Editor. Install and run it. Find Path variable among system

Re: [Sikuli-driver] [Question #390028]: Sikuli automation to pull data from csv and enter in browser app

2016-09-12 Thread Roman Podolyan
Question #390028 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/390028 Roman Podolyan posted a new comment: > [error] script [ CreateProducer ] stopped with error in line 150 at column 4 > [error] SyntaxError ( "no viable alternative at input 'if'", ) That me

Re: [Sikuli-driver] [Question #390028]: Sikuli automation to pull data from csv and enter in browser app

2016-09-12 Thread Roman Podolyan
Question #390028 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/390028 Roman Podolyan proposed the following answer: And what happens now? :) Do you see dialogs you coded with input() function? What page is opened in browser before scripts starts? Do you see any action

Re: [Sikuli-driver] [Question #390028]: Sikuli automation to pull data from csv and enter in browser app

2016-09-11 Thread Roman Podolyan
Question #390028 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/390028 Roman Podolyan posted a new comment: Tell me please what you _expect_ to happen when you run this code, and what _happens_ . Yes, you don't call "sfg_update_profile" — but what you expect to h

Re: [Sikuli-driver] [Question #374925]: Editing, deleting Files

2016-09-10 Thread Roman Podolyan
Question #374925 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/374925 Status: Open => Answered Roman Podolyan proposed the following answer: Okay. Here is code deleting two files in "D:\Tmp\Del" regardless of are they there or not ("try"

Re: [Sikuli-driver] [Question #390028]: Sikuli automation to pull data from csv and enter in browser app

2016-09-10 Thread Roman Podolyan
Question #390028 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/390028 Status: Open => Answered Roman Podolyan proposed the following answer: 1) When I needed switching to some app, I did it using taskbar clicking, not switchApp. I took some image (like Firefox icon) f

Re: [Sikuli-driver] [Question #374925]: Editing, deleting Files

2016-09-01 Thread Roman Podolyan
Question #374925 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/374925 Roman Podolyan posted a new comment: To manipulate files you need to master OS module: https://docs.python.org/2/library/os.html Sorry, I was a bit in a hurry in the morning, and to check working

Re: [Sikuli-driver] [Question #374925]: Editing, deleting Files

2016-09-01 Thread Roman Podolyan
Question #374925 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/374925 Roman Podolyan posted a new comment: As for file reading / writing this documentation should be helpful: https://docs.python.org/2/tutorial/inputoutput.html#reading-and-writing-files -- You received

Re: [Sikuli-driver] [Question #374925]: Editing, deleting Files

2016-09-01 Thread Roman Podolyan
Question #374925 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/374925 Roman Podolyan posted a new comment: > in the line SIKoutput = file(SIKoutput_dir + "SIKoutput.txt", "w") > what does the "w" do? "w" is for Writing. It signals

Re: [Sikuli-driver] [Question #372286]: How to detect one object in slightly different background color

2016-08-30 Thread Roman Podolyan
Question #372286 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/372286 Roman Podolyan posted a new comment: When our team had alike problems (images from our notebooks did not match images from virtual machine tests run on), one of the solutions was to establish VNC connection

Re: [Sikuli-driver] [Question #359520]: Issue with a setup

2016-08-27 Thread Roman Podolyan
Question #359520 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/359520 Roman Podolyan posted a new comment: Did you look in SikuliX-1.1.1-SetupLog.txt , didn't you? -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #350303]: I am using the Click function n sikuli and when I click on the png image and select Matching Preview, it displays whatever I have on my desktop. Isn't the Match

2016-08-18 Thread Roman Podolyan
Question #350303 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/350303 Status: Open => Answered Roman Podolyan proposed the following answer: It matters what program window you had opened before you clicked Matching preview. Before you click matching preview, you h

Re: [Sikuli-driver] [Question #350303]: I am using the Click function n sikuli and when I click on the png image and select Matching Preview, it displays whatever I have on my desktop. Isn't the Match

2016-08-17 Thread Roman Podolyan
Question #350303 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/350303 Status: Open => Answered Roman Podolyan proposed the following answer: Matching preview is supposed to display what you have on screen, with areas matching the pattern covered by red overlay. That sh

Re: [Sikuli-driver] [Question #324092]: clicking on unknown hyperlinks or checkboxes

2016-08-07 Thread Roman Podolyan
Question #324092 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/324092 Roman Podolyan posted a new comment: Sorry, I have no experience with Sikuli text search. Can't help with it. -- You received this question notification because your team Sikuli Drivers is an answer

Re: [Sikuli-driver] [Question #324092]: clicking on unknown hyperlinks or checkboxes

2016-08-05 Thread Roman Podolyan
Question #324092 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/324092 Status: Open => Answered Roman Podolyan proposed the following answer: If I correctly understand how it looks (well, I can just imagine it until you provide some image), you need 1) Ra

Re: [Sikuli-driver] [Question #300736]: FindFailed Error when image is not on screen

2016-07-22 Thread Roman Podolyan
Question #300736 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/300736 Status: Open => Answered Roman Podolyan proposed the following answer: Learn Python try ... except . https://docs.python.org/3/tutorial/errors.html#handling-exceptions Here is how I handle it:

Re: [Sikuli-driver] [Question #294224]: Sikuli support on MAC OS X 10.11.x

2016-05-27 Thread Roman Podolyan
Question #294224 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/294224 Roman Podolyan posted a new comment: I'm running Sikuli on 10.11.X ( .4 by now). I had a problem very similar to described and solved here: https://answers.launchpad.net/sikuli/+question/267306 MouseDown

Re: [Sikuli-driver] [Question #293741]: SikuliX Scripts for Bluestacks

2016-05-17 Thread Roman Podolyan
Question #293741 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/293741 Status: Open => Answered Roman Podolyan proposed the following answer: 1) import random Python module 2) get location of top left corner 3) compute random offsets 4) add random offset to top l

Re: [Sikuli-driver] [Question #293610]: Mouse Rotation and cursor position

2016-05-13 Thread Roman Podolyan
Question #293610 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/293610 Roman Podolyan proposed the following answer: Sikuli has low-level mouse and keyboard actions: http://doc.sikuli.org/region.html#low-level-mouse-and-keyboard-actions Low-level Mouse and Keyboard Actions

Re: [Sikuli-driver] [Question #293610]: Mouse Rotation and cursor position

2016-05-13 Thread Roman Podolyan
Question #293610 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/293610 Status: Open => Answered Roman Podolyan proposed the following answer: Sikuli has low-level mouse and keyboard actions: http://doc.sikuli.org/region.html#low-level-mouse-and-keyboard-actions Low-le

Re: [Sikuli-driver] [Question #293519]: [1.1.x] external IDE: How to setup/configure JetBrains PyCharm

2016-05-10 Thread Roman Podolyan
Question #293519 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/293519 Roman Podolyan posted a new comment: To summarize: ) Pycharm is OK ) Make Jython Python interpreter for project (my Jython path is different from RaiMan's, ~/jython2.7.0/bin/jython ) ) In the run

Re: [Sikuli-driver] [Question #293519]: [1.1.x] external IDE: How to setup/configure JetBrains PyCharm

2016-05-10 Thread Roman Podolyan
Question #293519 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/293519 Status: Answered => Solved Roman Podolyan confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Driv

[Sikuli-driver] [Question #293519]: SikuliX nightly with some external IDE: can anyone share example settings

2016-05-09 Thread Roman Podolyan
New question #293519 on Sikuli: https://answers.launchpad.net/sikuli/+question/293519 I'm trying to make Sikuli work with external IDE (IntelliJ IDEA) with Mac OS X 10.11 , but I fail. I installed Python plugin I chose Jython 2.7 as interpreter I installed latest Sikuli nightly from

Re: [Sikuli-driver] [Question #293205]: Using Excel data as input, im stuck here! :(

2016-05-05 Thread Roman Podolyan
Question #293205 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/293205 Status: Open => Needs information Roman Podolyan requested more information: ) If you want others to see your complete script, Sikuli does "double-save" , and copy of your script with im

Re: [Sikuli-driver] [Question #292921]: How to make a "bridge" to 2 or 3 script

2016-05-01 Thread Roman Podolyan
Question #292921 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/292921 Roman Podolyan proposed the following answer: 2.1) Put all 3 scripts in the same file inside respective functions, please 2.2) Don't forget the "while" part. You have not only define function

Re: [Sikuli-driver] [Question #292921]: How to make a "bridge" to 2 or 3 script

2016-04-30 Thread Roman Podolyan
Question #292921 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/292921 Status: Open => Answered Roman Podolyan proposed the following answer: It's possible, but you need better code. 1) You have to make you scripts functions (learn it — http://www.tutorialspoint.

Re: [Sikuli-driver] [Question #268990]: Using a Screen other than the whole desktop

2015-07-11 Thread Roman Podolyan
Question #268990 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/268990 Roman Podolyan posted a new comment: Sikuli can restrict image search to some Region, less than whole screen — http://doc.sikuli.org/region.html , that is you may search in several independent regions, so

Re: [Sikuli-driver] [Question #216583]: Sikuli script to press multiple key combinations in windows

2015-06-06 Thread Roman Podolyan
Question #216583 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/216583 Roman Podolyan proposed the following answer: @eduardobedoya To achieve that, type must be put into For loop. Like this: for i in Range(4): type(Key.Enter) https://www.google.com/search?q=python

Re: [Sikuli-driver] [Question #216583]: Sikuli script to press multiple key combinations in windows

2015-06-06 Thread Roman Podolyan
Question #216583 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/216583 Roman Podolyan proposed the following answer: Oops, sorry, Range(5), not 4. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #265950]: Browse directories in windows through Sikuli

2015-04-27 Thread Roman Podolyan
Question #265950 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/265950 Status: Open = Answered Roman Podolyan proposed the following answer: You can paste desired path with filename into File name field of Windows saving dialog, that should save the file where you want

Re: [Sikuli-driver] [Question #258173]: Which big companies are using Sikuli

2014-11-24 Thread Roman Podolyan
Question #258173 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258173 Status: Open = Answered Roman Podolyan proposed the following answer: 1) http://twistertesting.luxoft.com/blog/howto-twister-sikuli/ HowTo: Twister Sikuli http://en.wikipedia.org/wiki/Luxoft Luxoft

Re: [Sikuli-driver] [Question #245736]: Configure Ride with Sikuli

2014-03-19 Thread Roman Podolyan
Question #245736 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245736 Roman Podolyan posted a new comment: Atul, you can check this thread: https://groups.google.com/forum/#!topic/robotframework-users/-2d6YrCwd-E Are you aware that there are no standard Robot Framework

Re: [Sikuli-driver] [Question #241463]: Automate iPad using Sikuli

2014-01-03 Thread Roman Podolyan
Question #241463 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/241463 Status: Open = Answered Roman Podolyan proposed the following answer: Never head of such, how hard I ever tried to find it, neither my colleagues (I work next to web and mobile automation team). iOS

Re: [Sikuli-driver] [Question #241463]: Automate iPad using Sikuli

2014-01-03 Thread Roman Podolyan
Question #241463 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/241463 Roman Podolyan proposed the following answer: Never heard of such, how hard I ever tried to find it, neither my colleagues (I work next to web and mobile automation team). iOS is very restrictive platform

Re: [Sikuli-driver] [Question #241463]: Automate iPad using Sikuli

2014-01-02 Thread Roman Podolyan
Question #241463 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/241463 Status: Open = Answered Roman Podolyan proposed the following answer: They say to control iPad via VNC you have to jailbreak it first. Google iPad, VNC, jailbreak for the info. -- You received

Re: [Sikuli-driver] [Question #237635]: Use clients info from txt

2013-10-19 Thread Roman Podolyan
Question #237635 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/237635 Status: Open = Answered Roman Podolyan proposed the following answer: Why don't you learn Python using any Python book you'd like? This task looks like school programming exercise we where doing when I

Re: [Sikuli-driver] [Question #236379]: GUI wrapper\framework for command line tests

2013-09-26 Thread Roman Podolyan
Question #236379 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/236379 Status: Open = Answered Roman Podolyan proposed the following answer: If you ask about the ideas, I can point you to the Robot Framework: http://robotframework.org/ + RF Operating System Library

Re: [Sikuli-driver] [Question #193318]: json import error

2013-09-19 Thread Roman Podolyan
Question #193318 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/193318 Roman Podolyan posted a new comment: Let's back to this question from 1.0.1 perspective. For me adding simplejson to \libs folder doesn't seem to work now. Am I doing something wrong (and how to check what

Re: [Sikuli-driver] [Question #235255]: iPad 2-way communication

2013-09-06 Thread Roman Podolyan
Question #235255 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235255 Roman Podolyan proposed the following answer: For testing iPad apps better to launch the app in question with XCode simulator. I advise that from my own experience. There are some solutions like rooting

Re: [Sikuli-driver] [Question #235197]: Can sikuli work with Grid2, on real devices?

2013-09-05 Thread Roman Podolyan
Question #235197 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235197 Roman Podolyan posted a new comment: -- Android devices only via simulator Not only. Sikuli can work with anything on PC screen, so it can work with anything which can be remotely managed from PC. Some

  1   2   3   >