Re: [Sikuli-driver] [Question #661391]: Visual based testing
Question #661391 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661391 Status: Open => Answered masuo proposed the following answer: I think that the content written here is useful. https://answers.launchpad.net/sikuli/+question/647444 -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #661362]: Setup PyCharm
Question #661362 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661362 Status: Answered => Open Jeff_Vallis is still having a problem: Not certain what my outcome is Have created a New Project from Scratch see below google sheet - Tab "New Project" then added an existing Sikuli Script Tab "Add Existing" https://docs.google.com/spreadsheets/d/1K87Au7BuZqYRl2iGEH6fn_b4-Ty85kxdOoJOt2o0L50/edit?usp=sharing Can you give me comments on the results -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #661396]: Sikulix1.1.1 will support windows 10.
New question #661396 on Sikuli: https://answers.launchpad.net/sikuli/+question/661396 Sikulix1.1.1 will support windows 10 - 64 bit with java 1.8 Following error is showing while trying to run the code [error] RunTimeINIT: *** terminating: libs to export not found on above classpath: /sikulixlibs/windows/libs64 Help me on this Extremely urgent -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #661391]: Visual based testing
Question #661391 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661391 Status: Answered => Solved Maniraj confirmed that the question is solved: Thank you... -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #661396]: Sikulix1.1.1 will support windows 10.
Question #661396 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661396 Status: Open => Answered RaiMan proposed the following answer: Follow the steps: http://www.sikulix.com/quickstart/ -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #661362]: Setup PyCharm
Question #661362 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661362 Status: Open => Answered RaiMan proposed the following answer: Looks ok. The problem: There does not seem to be obvious rules, where and when "default" settings are inherited. In fact, it looks like they are only "copied" once at creation time or at first use somewhere else, if at all. So to be on the safe side, one should always check the project settings for new projects after creation and do the same for the run configurations (I always set them up manually and do not rely on the automatics - see comment #3) There is another point not yet mentioned: code completion with regard to SikuliX features. With the settings so far, SikuliX methods should be marked as errors (not found). This can be repaired by adding the folder reference /Lib to the Project Preferences -> Project: ... -> Project Structure as additional content root As mentioned: working on the docs for PyCharm. Please come back with any insights, that should be doc'ed -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #661397]: Trying to type non-ascii characters with "paste(ucode(text))" is raising the UnicodeEncodeError Exception
New question #661397 on Sikuli: https://answers.launchpad.net/sikuli/+question/661397 I'm trying to type the following line: type("§§§" + Key.ENTER) After searching on here I found out about the "paste(ucode(text))", however after trying that I got stuck with the same error, notably: IDE: (org.sikuli.scriptrunner.JythonScriptRunner@259dd9ac).runScript: Exception: UnicodeEncodeError: 'ascii' codec can't encode characters in position 152-157: ordinal not in range(128) I've looked around on the internet but to no avail. Help would be appreciated. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #661397]: Trying to type non-ascii characters with "paste(ucode(text))" is raising the UnicodeEncodeError Exception
Question #661397 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661397 Status: Open => Answered RaiMan proposed the following answer: just use paste("§§§") type(Key.ENTER) -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #661397]: Trying to type non-ascii characters with "paste(ucode(text))" is raising the UnicodeEncodeError Exception
Question #661397 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661397 RaiMan proposed the following answer: Sorry, 2fast4me ;-) paste(ucode("§§§")) is the correct use. Make sure, you are running at least version 1.1.1 -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #661362]: Setup PyCharm
Question #661362 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661362 RaiMan proposed the following answer: After having made some more experiments, things turn out to be more complex, than expected. PyCharms is principally useable in the above mentioned scenarios. But a rather annoying caveat is the fact, that the editor (nor the console) does not support code completion with stuff residing inside of jars or Java classes - hence the complete Java API is not visible for the editor's code completion (which I remember is true for Eclipse PyDev too). I played around a little with the IntelliJ Idea having the Python plugin: there you get at least access to the class names and method names inside the jar and Java classes when editing, but not to the parameter lists (hence still not optimal). So for me finally IntelliJ IDEA is the better solution, since I use it for Java programming too. Nevertheless I will complete the docs for PyCharm in this sense. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #661255]: How to Integrate SikuliX 1.1.1 with IntelliJ IDEA in Mac
Question #661255 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661255 Status: Needs information => Answered RaiMan proposed the following answer: for now you have to follow this answer thread: https://answers.launchpad.net/sikuli/+question/661362 -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #661348]: Progam slowing down - MouseDown: extended delay
Question #661348 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661348 Status: Open => Answered RaiMan proposed the following answer: --- None of these settings make really sense: Settings.MoveMouseDelay = 0.1 # 0 would be the value, to switch of the mouse move animation Settings.DelayBeforeMouseDown = 0.1 # only relevant for dragDrop, no effect with click Settings.ClickDelay = 0.1 # time between down and up for click, standard is 0 which normally works. --- click using a thread: not needed with SikuliX 1.1.1+, since internally mouse actions are globally synchronized --- extended delay Internally SikuliX uses the Java AWT Robot class to handle mouse actions (Button up/down and move). All higher level mouse actions are composed based on these Robot features. The error message comes up, when inside the Robot a feature like ButtonDown does not come back after a maximum delay (standard 1 second). This extended delay is not created by any SikuliX feature, but is completely in the layer between the Robot and the system mouse handling. Since you are automating a game, it might well be, that the game engine is aware of the fact that the mouse actions are non-human and hence interferes the mouse handling with some delay, which seems probable looking at the continuous increase of the delay. You might try, to implement your central click function using mouseDown() and mouseUp() with surrounding and intermediate short waits, that are randomly generated. This may help, to avoid being detected as a non-human. -- You received this question notification because your team Sikuli Drivers is subscribed to the question. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #661313]: region.find(image) question/issue
Question #661313 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661313 Status: Open => Answered RaiMan proposed the following answer: - your region is an area on the screen top left at (200, 200) with a size of (1700 x 825) - your image is a png image file at the given path - with Pattern(image).exact() you say, that the image should be seen in the region exactly as it is at time of region.exists() - at time of region.exists() SikuliX makes a screenshot of the region area and checks, wether the image is found somewhere in that screenshot (see how it works: http://sikulix-2014.readthedocs.io/en/latest/basicinfo.html#sikulix-how- does-it-find-images-on-the-screen) So I do not understand your problem. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #661313]: region.find(image) question/issue
Question #661313 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661313 Status: Answered => Open Gary Paschke is still having a problem: Thanks for all your time in helping resolve my confusion/understanding in this simple use case. I still am not getting results I would expect based on the simple script logic below. If I run as is, I get "test passed", as expected. However, lets say, I add a small square markup (e.g. 10 x10pixel) on the 3D_Reciprocating_Saw_Gold.png with MS Paint and save. When I re-run script below, it still passed. If I exaggerate the square to say 25x25pixel, it FAILED. I would expect ANY change to the saved 3D_Reciprocating_Saw_Gold.png to cause a failed test run, which is what we require. The test run (sikulix script) must match exactly what we are comparing on disk (i.e. 3D_Reciprocating_Saw_Gold.png) image="D:\\Tc_Auto_Tests\\Images\\3D_Reciprocating_Saw_Gold.png" r = Region(225,200,1675,810) pimage = Pattern(image).exact() if r.exists(pimage, 5): print "Screen matches 3D_Reciprocating_Saw_Gold, test passed" r.highlight(2) else: print "Screen failed match of 3D_Reciprocating_Saw_Gold, test FAILED" Any change I can upload an avi or word doc which may help? Thanks -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #661313]: region.find(image) question/issue
Question #661313 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661313 RaiMan posted a new comment: In Germany it is now evening. I will come back tomorrow -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #661057]: Hi I am getting the below error when sikulix is used in eclipse
Question #661057 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661057 radhi12 gave more information on the question: Hi, Can anyone help. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #661397]: Trying to type non-ascii characters with "paste(ucode(text))" is raising the UnicodeEncodeError Exception
Question #661397 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/661397 Status: Answered => Solved edlothiad confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #661411]: Remote node connect is not working
New question #661411 on Sikuli: https://answers.launchpad.net/sikuli/+question/661411 I have written script and executing in my local machine it is running As expected but while try to run in remote machine (Node) it is not running NOTE : Using MAC laptop and Remote node system also mac (For verify Actual image It needs to take from my local machine(laptop)) using Screen sharing option trying to run script in node machine. Remote desktop is having separate monitor and it is running in that monitor only(it is having display) IMP: In node system i am using same resolution only What is solution for that...to run Help me out. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp