Re: [Sikuli-driver] [Question #709217]: Automated testing
Question #709217 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/709217 TestMechanic proposed the following answer: You can program your interactions in Sikuli and then do a screen recording of script execution against your application -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #706948]: Unable to launch application since its dependencies are being accessed from Project Location
Question #706948 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/706948 Status: Open => Needs information TestMechanic requested more information: How you can run this app without Sikuli by just using windows command line? -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #706194]: When we can expect next release of sikuli
Question #706194 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/706194 TestMechanic 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 SikuliX. ___ 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 #706194]: When we can expect next release of sikuli
New question #706194 on SikuliX: https://answers.launchpad.net/sikuli/+question/706194 Hi RaiMan, When we can expect next sikuli release :-) -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #705997]: /run/someScript --- run a script (someScript.sikuli in folder someFolder), Can we use a HTTP url instead of someScript folder
Question #705997 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/705997 Status: Open => Answered TestMechanic proposed the following answer: I am not sure if you need sikuli for this Just use wget or curl to download whenever you want to run. The run it with sikuli with standard approach -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #705963]: Automated GUI Testing
Question #705963 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/705963 Status: Open => Needs information TestMechanic requested more information: What OS you are using? -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #704083]: Sharing Sikulx projects between computers (and different OS)
Question #704083 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/704083 TestMechanic posted a new comment: First of all Linux is not a hardware - it is operating system(software). If you want to use sikuli you maybe want to use it image recognition abilities. If so you need to take image elements from the OS where the script will run. Linux and Windows has very much different UI -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #703107]: Sikuli not working changing screen size
Question #703107 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/703107 Status: Open => Answered TestMechanic proposed the following answer: Open IDE and try to find elements. If you can't you changed something else like dpi -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #703056]: --load option does not work
New question #703056 on SikuliX: https://answers.launchpad.net/sikuli/+question/703056 Seems like I cant preload script in the IDE by using -l (load) option in sikuli 2.x. However option is mentioned in the help (-h) java -jar c:\work\sikuli206\sikulixidewin-2.0.6.jar -h usage: [-a ] [-c] [-d ] [-f ] [-h] [-l ] [-p] [-q] [-r ] [-s ] [-u ] [-v] - Running SikuliX - -a,--appdataPath for SikuliX AppData (Sandbox) -c,--console print all output to commandline (IDE message area) -d,--debug positive integer -f,--logfilea valid filename (WorkingDir/SikuliLog.txt) -h,--helpprint this help message and actual SikuliX preferences -l,--load preload scripts in IDE -p,--pythonserveruse SikuliX features from Python -q,--quiet show nothing -r,--runrun script -s,--server run as server on optional port -u,--userloga valid filename (WorkingDir/UserLog.txt) -v,--verbose Debug level 3 and elapsed time during startup - Is this a bug? -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #699688]: Seems like sikulix.com is down
New question #699688 on SikuliX: https://answers.launchpad.net/sikuli/+question/699688 Is there alternative site? or this is technical issue? -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #698601]: SikuliX for wide projects
Question #698601 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/698601 TestMechanic proposed the following answer: "Is SikuliX suitable for this size of projects ?" Yes. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #697339]: Sikuli 2.0.5 - runScript('powershell get-process') return error
Question #697339 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/697339 Status: Answered => Solved TestMechanic confirmed that the question is solved: I got the example from the docs Example for PowerShell: returnCode = runScript('powershell get-process') So maybe it is a documentation bug -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #697208]: I need to show a permanent "log" windows on top
Question #697208 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/697208 TestMechanic posted a new comment: Just my 2 cents: I created a splash screen that sit on top of the screen and I put there names of my tests or any debug info I want. Also it is valuable when I am analyzing my test results and watching video test log Here is the sample of splashscreen: https://www.screencast.com/t/IB2iKLQ1wl -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #697271]: Release file created with the setLogFile() function
Question #697271 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/697271 Status: Open => Answered TestMechanic proposed the following answer: You need to use different approach since yours is not technically correct. You can just archive file after sikuli script is done. So you can use shell or batch to do something like this: sikuli -jar sikukli. -r yourscript 7zip a . del -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #697339]: Sikuli 2.0.5 - runScript('powershell get-process') return error
New question #697339 on SikuliX: https://answers.launchpad.net/sikuli/+question/697339 Tested on 2 windows10 machines, powershell 5.1 runScript('powershell get-process') result in : [error] Runner: script not found: powershell get-process Note: that 'powershell get-process' works fine from console and from windows run menu -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696667]: Minimal VM
Question #696667 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696667 TestMechanic proposed the following answer: You need to provide enough resources for: -- OS -- Sikuli (actually java app that are not light one) -- Application under test - not sure what you are testing but if it is Chrome for example it is not light as well In my experience: I was able to run smoothly tests with 2xCPU and 2GB ram minimum. Also you can reduce UI resolution to minimal for your AUT. You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696693]: I am hitting sporadic problems with findText in v2.0.5
Question #696693 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696693 Status: Answered => Solved TestMechanic 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 SikuliX. ___ 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 #696693]: I am hitting sporadic problems with findText in v2.0.5
New question #696693 on SikuliX: https://answers.launchpad.net/sikuli/+question/696693 Case is simple 1. region.text() -> region text is recognized ok 2. then region.findText("existing word form search in 1") - > cannot be found The problem is sporadic. The word is "Virus" - I noticed that sometime it is found as "Vius". It hapens with other words as well Note that there are 10 more words that are always OK Is there any way to handles such problem? I tried to use "Vius" instead of Virus but it does not always work. Since the words in text are quite different can i use something like similarity -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696667]: Minimal VM
Question #696667 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696667 TestMechanic posted a new comment: You did not mentioned any CPU & RAM... -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696217]: Run Multiple test and generate results in one test report
Question #696217 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696217 Status: Open => Answered TestMechanic proposed the following answer: Here is https://github.com/ndinev/sikuli -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696326]: Running SikuliX in Guest OS through VirtualBox
Question #696326 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696326 Status: Open => Answered TestMechanic proposed the following answer: You can run Lubuntu or XCFE Linux Mint -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696094]: Sikuli 2.0.5 - click text in region does not work
Question #696094 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696094 TestMechanic posted a new comment: I am using 2.0.5 See the link in the original message. You can see the title of the IDE -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696094]: Sikuli 2.0.5 - click text in region does not work
Question #696094 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696094 Status: Solved => Open TestMechanic is still having a problem: @RaiMan just wondering for the original question - why reg.click does not work - is this a bug? -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696094]: Sikuli 2.0.5 - click text in region does not work
Question #696094 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696094 TestMechanic posted a new comment: Your solution does not include use of region I found this workaround reg.waitText(text).click() -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #695986]: [2.0.5] IDE: Can't see full image in Target offset view --- enhancement tracked on GitHub
Question #695986 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/695986 TestMechanic posted a new comment: Use Windows ruler -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696043]: [error] AttributeError ( 'javapackage' object has no attribute 'TextIOBase' )
Question #696043 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696043 TestMechanic posted a new comment: Seems that your xmlrunner version does not work with latest jython used in 2.0.5 -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #695801]: Help with Random
Question #695801 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/695801 TestMechanic posted a new comment: Int means integer. You are asking for randint and getting it -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696094]: Sikuli 2.0.5 - click text in region does not work
New question #696094 on SikuliX: https://answers.launchpad.net/sikuli/+question/696094 Code: reg = reg.click('text_in_region') # does not click on text see video https://www.screencast.com/t/yIdZvomTCvpz Seems like click is executed on relative coordinates against Screen not against region This seems like a bug Note that "reg.click(image_in_region.png) works s expected -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #695801]: Help with Random
Question #695801 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/695801 TestMechanic proposed the following answer: You can use milliseconds in sikuli -> for example 0.1 is 100ms For making random more random you can seed your random with time import random import time random.seed(time.time()) -- 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 #694840]: Cross platform testing on Mac and Windows
Question #694840 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/694840 Status: Open => Answered TestMechanic proposed the following answer: I am doing this for the last 8-9 years :-) You need to consider: 1. Images may be different on different OS 2. Almost certainly you may need to handle specifics dialog on different OS - like save dialog 3. Whenever using path variables make sure you use python well to make paths multi-platform 4. Any execution of external programs will be different (UI or console ones) -- 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 #694564]: Region methods getRow and getCol does not work
Question #694564 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/694564 TestMechanic posted a new comment: I am using it correctly according to the documentation getRow(3,4) > means to divide screen(default) in 4 rows and get the forth one (it is zero based 0,1,2,3) Here is the excerpt from documentation *** If you need only one row in one column with x rows or only one column in one row with x columns you can use Region.getRow() or Region.getCol() getRow(whichRow, numberRows) Parameters: numberRows – in how many evenly sized rows should the region be devided whichRow – the row to select counting from 0, negative counts backwards from the end Returns: a new Region created from the selected row *** -- 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 #694564]: Region methods getRow and getCol dows not work
New question #694564 on Sikuli: https://answers.launchpad.net/sikuli/+question/694564 Seems like getRow and getCol methods does not work https://sikulix-2014.readthedocs.io/en/latest/region.html#Region.getRow tested with sikuli 2.0.4 reg = getRow(3,4) reg.highlight(2) Above code always select the whole screen -- 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 #694564]: Region methods getRow and getCol does not work
Question #694564 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/694564 Summary changed to: Region methods getRow and getCol does not work -- 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 #694155]: Logging module does not work via console - Sikuli 2.0.4/Java 11
Question #694155 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/694155 TestMechanic posted a new comment: Hi RaiMan, Thanks for the answer. Any guidance how can I do this? -- 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 #694126]: make every click random on a picture
Question #694126 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/694126 Status: Open => Answered TestMechanic proposed the following answer: 1. Define function def RandomClick(element): m = find(element) click(Location(random.randint(m.getX(),m.getX()+m.getW()),random.randint(m.getY(),m.getY()+m.getH( 2. Then you can use this function in your code RandomClick("some_picture.png") -- 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 #694155]: Logging module does not work via console - Sikuli 2.0.4/Java 11
New question #694155 on Sikuli: https://answers.launchpad.net/sikuli/+question/694155 sikuli v 2.0.4 java 11 start IDE and paste this script import logging logging.error("print error") run script in IDE - as result you will see logging error "print error" - this is OK save script as "1.sikuli" and run it from console with "-r 1.sikuli" option - nothing printed - BUG?! What I have tried 1. I've tried different variants with logging module but behavior is the same - works in IDE but not in console 2. print("hi") works fine 3. in sikuli 1.1.3 with java 8 this works fine in console 4. I tested this on Linux but I do not thing it is an OS problem Any ideas if this is a bug or I am missing something? -- 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 #691293]: Fault tolerance for target images
Question #691293 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/691293 TestMechanic posted a new comment: I will add comment because this actually is the most important topic when I need to convince someone to use Sikuli :-) about 1) I meant that if you are using higher resolution you will see more UI elements on the screen. Then when running test on lower you may need to handle the risk of element not to be visible and to scroll down to see those images(visible ok on higher resolution without scrolling down) about 2). I meant exactly that - have ui_map_win.sikuli, ui_map_mac.sikuli and ui_map_lin.sikuli and load whenever you need. for particular OS -- 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 #691293]: Fault tolerance for target images
Question #691293 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/691293 Status: Needs information => Answered TestMechanic proposed the following answer: I think I understand Robin concern and will try to share my approach. Here are some recommendations based on my 8 years experience using Sikuli for testing applications on Mac, Windows and Linux: 1. Try whenever possible to use same resolution on test development and test execution machines. Why?: Because many web and desktop applications now have responsive design and will scale their UI elements when width of app is changing. You can mitigate this by using fixed window size if resolution change is not an option. The another problem with resolution is that visible area of the screen is different. So for example you may need to scroll down to see some element visible on higher resolution. In general you need to keep not only resolution similar, but also things like fonts smotening/clear types, color schema... etc. 2. However when testing a multi platform application( or inability to keep resolution for one platform similar) you may use following approach make a Sikuli ui-map file that contains only UI map definitions of your elements. Here is the example: class NotepadUI: class scrSettings: button_Save = button_save.png button_Cancel = button_cancel.png Then in your script use elements like this: click(NotepadUI.scrSettings.button_Save) Make your tests running with this UI map on one OS(or in your case resolution) Then create second(and third and so on) UI maps for different OSes(or ui configurations) How this helps -- 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 #691343]: Can i post xml file over http using sikulix.
Question #691343 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/691343 TestMechanic proposed the following answer: You can use python libs, but also consider using external tools like curl. I found this more reliable and reasonable for my testing frameworks. -- 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 #690002]: About Docker Support
Question #690002 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/690002 Status: Open => Answered TestMechanic proposed the following answer: You need to have an active virtual display. If VNC support means having display you should be able to run the tests -- 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 #689635]: Error when attempting to use type('test')
Question #689635 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689635 Status: Needs information => Solved TestMechanic confirmed that the question is solved: 2.04 However I found workaround : In Advanced keyboard settings set override to English US -- 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 #689635]: Error when attempting to use type('test')
New question #689635 on Sikuli: https://answers.launchpad.net/sikuli/+question/689635 Windows 10 English Java 13 KB layout selected - English Steps: Open IDE and type "type('test')" Save and run Error appear: [error] java.lang.IllegalArgumentException ( java.lang.IllegalArgumentException: Key: Not supported character: t ) [error] --- Traceback --- error source first line: module ( function ) statement 2: main ( ) type("test") [error] --- Traceback --- end -- -- 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 #686849]: [2.0.1] HTMLTestRunner: stream.close(): AttributeError ( '_TestResult' object has no attribute 'isAborted' )
Question #686849 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/686849 TestMechanic proposed the following answer: He is the solution: in htmltestrunner.py locate the main class and add "isAborted" method. Here is an example: class HTMLTestRunner(Template_mixin): """ """ def isAborted(self): return False def __init__(self, stream=sys.stdout, verbosity=1, title=None, description=None): -- 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 #687508]: Using OCR to select day of the month
Question #687508 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687508 Status: Open => Answered TestMechanic proposed the following answer: Here is one example that works for me on google calendar https://www.screencast.com/t/M8bUxD8pHv2u However there are some important notes: -- OCR may not work well on your calendar -- Extra logic need to be applied to handle repeating appearance of 30, 31 and 1-9 in my example -- Alternative approach with images of all dates can be working as well 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 #687647]: Drag and Drop
Question #687647 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687647 TestMechanic posted a new comment: In my experience I faced some problems with drag and drop on slower (Mac) machines. In order to solve problem a customized function was developed. Note that there are no actions (besides sleep) between all mouse actions def CustomDragDropPixels(dragImg, dX=0, dY=0, delay=1): hover(dragImg) sleep(delay) mouseDown(Button.LEFT) sleep(delay) mouseMove(dX, dY) sleep(delay) mouseUp(Button.LEFT) sleep(delay) As you can see this is really slow version of drag and drop, but it works :-) -- 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 #685406]: Sikuli 2.0 highlight() show black rectangle on Lubuntu 18 - accepted bug
Question #685406 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/685406 TestMechanic posted a new comment: I done the test on build 466 from 5 Dec 2019 Settings.HighlightTransparent=True find(someimage.jpg).highlight(2) On Windows10: PASS - highlight box is 100% transparent On Lubuntu18: FAIL - highlight box is still black Note: I noticed that default value of Settings.HighlightTransparen is False for Windows and True for Lubuntu -- 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 #685815]: Drag drop to random (pre-defined) location
Question #685815 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/685815 TestMechanic posted a new comment: Thanks Manfred for solving the 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 #685815]: Drag drop to random (pre-defined) location
Question #685815 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/685815 TestMechanic proposed the following answer: You need to fix script like that ( I test it with hover but you can run it with your drag-drop) import random from random import choice def position1(): return Location(548,292) def position2(): return Location(633,293) def position3(): return Location(738,288) def position4(): return Location(817,284) def randomDrop(): positionOneToFour = [position1(), position2(), position3(), position4()] return random.choice(positionOneToFour) def main(): dragDrop("1573618403777.png",randomDrop()) print('done') main() -- 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 #685815]: Drag drop to random (pre-defined) location
Question #685815 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/685815 TestMechanic proposed the following answer: You are calling method incorrectly - you need 1. use () in functions call 2. use return I example that i gave you i added () hover(randomDrop()) so you need to type randomDrop() instead of randomDrop in your dragDrop call -- 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 #685815]: Drag drop to random (pre-defined) location
Question #685815 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/685815 Status: Open => Answered TestMechanic proposed the following answer: You need to fix script like that ( I test it with hover but you can run it with your drag-drop) import random from random import choice def position1(): return Location(548,292) def position2(): return Location(633,293) def position3(): return Location(738,288) def position4(): return Location(817,284) def randomDrop(): positionOneToFour = [position1(), position2(), position3(), position4()] return random.choice(positionOneToFour) def main(): hover(randomDrop()) print('done') main() -- 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 #685406]: Sikuli 2.0 highlight() show black rectangle on Lubuntu 18 - accepted bug
Question #685406 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/685406 Status: Answered => Solved TestMechanic confirmed that the question is solved: Thanks RaiMan :-) -- 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 #685406]: Sikuli 2.0 highlight() show black rectangle on Lubunto 18
New question #685406 on Sikuli: https://answers.launchpad.net/sikuli/+question/685406 I noticed that in the old versions highlight rectangle was 100% transparent, but now on Windows 10 and Ubuntu 18 rectangle has red-ish filling. I believe this is the reason on Lubuntu18 highlight is showing as a black rectangle. I know that this is not a critical problem and I can use Ubuntu, but reason for me to use Lubuntu is that it is very light on system resources in comparison with Ubuntu. So is there a way to configure Sikuli 2.0 to use the old way of highlighting? -- 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 #677302]: Import httplib failing with "cannot import name BlockingIOError"
Question #677302 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/677302 TestMechanic posted a new comment: Just for MAC reference: You need to delete ~/Library/Application Support/Sikuli/Lib -- 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 #681587]: [1.1.4]After run [Take screenshot], sikulixIDE window disappear
Question #681587 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/681587 TestMechanic posted a new comment: Seems like this is a bug if it is working with 1.1.3 -- 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 #682092]: Is there an way to make sure the screen data has been populated (i.e. is not all black) before running an operation?
Question #682092 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/682092 Status: Open => Answered TestMechanic proposed the following answer: You can check if your screenshot is black and retake it again until it is not black -- 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 #682175]: Unable to run Sikuli on 18.04
Question #682175 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/682175 Status: Open => Answered TestMechanic proposed the following answer: You should use 1.1.4 with Ubuntu 18.04 1.1.3 works with 16.04 -- 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 #681587]: [1.1.4]After run [Take screenshot], sikulixIDE window disappear
Question #681587 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/681587 Status: Open => Answered TestMechanic proposed the following answer: Windows 2019 differs a lot from win10 I have ideas for you to try: -- run sikuli with debug - https://sikulix-2014.readthedocs.io/en/latest/faq/010-command-line.html -- starting sikuli with "run as" administrator -- try older versions of sikuli - like 1.1.3 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 #681482]: Not able to run sikuli while skype sharing
Question #681482 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/681482 Status: Open => Answered TestMechanic proposed the following answer: Some tools like screencast software are taking full control over your pc screen. As result other tools like Sikuli may not be able to access it. I personally was successful to present via Skype for business on windows 10. I would recommend you to do some experiment with alternative screen sharing tools -- 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 #681587]: [1.1.4]After run [Take screenshot], sikulixIDE window disappear
Question #681587 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/681587 Status: Open => Needs information TestMechanic requested more information: Please post video of the problem. Do you have same problems on Windows 10/8 -- 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 #681452]: Sikuli modifiers
Question #681452 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/681452 TestMechanic proposed the following answer: There is no "Key.Down" key. Maybe you want Key.DOWN -- 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 #681147]: Mimeo Photos MacOS Sikuli does not recognise pics
Question #681147 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/681147 Status: Open => Needs information TestMechanic requested more information: There is no record function in Sikuli. You need to provide more info -- 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 #681188]: unsatisfied link error: no opencv_java in java.library.path -
Question #681188 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/681188 Status: Open => Answered TestMechanic proposed the following answer: I just tried on fresh Mint 19 VM. You need to follow original Raiman instructions https://sikulix-2014.readthedocs.io/en/latest/newslinux.html#newslinux Only 2 steps are needed 1. Install libopencv-java using sudo apt 2. Link libopencv-java to /usr/lib folder -- 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 #680996]: sikulixX + HtmlTestRunner - continue on assert False
Question #680996 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/680996 TestMechanic posted a new comment: Yes. It will result in 80 rows report. This is the correct way. -- 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 #680999]: sikulix robot framework take text from a picture
Question #680999 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/680999 TestMechanic posted a new comment: If your picture is not on the screen sikuli may not be the best option -- 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 #680991]: os.startfile() doesn't work
Question #680991 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/680991 Status: Open => Answered TestMechanic proposed the following answer: try to type this into your console C:\\Program Files\\4tiitoo\\NUIA\\Runtime\\bin\\NUIATrayMenu.exe and see if program starts and releases the console -- 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 #681015]: [1.1.4] how to use the App.open() when i use
Question #681015 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/681015 Status: Open => Answered TestMechanic proposed the following answer: Wu, I can suggest 2 approaches: ### approach1: type('r', KeyModifier.WIN) sleep(1) type('chrome') type(Key.ENETR) ### approach2: import os os.system('start chrome') -- 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 #680996]: sikulixX + HtmlTestRunner - continue on assert False
Question #680996 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/680996 TestMechanic proposed the following answer: Hi Asheru, As far as I understand you are doing data driven test I had same issue in the past and it is solvable. Here is two approaches I would suggest: 1. Do not "assert" in the function -- you can return true or false value to the main loop and store message like "test 43 failed" in var like errorsText -- when your main loop finish you can check if variable errosText is empty and decide what to do 2. You can generate dynamically your tests(based on your csv) to match unit test rules. In this way you will have 80 separated tests and each can pass or fail independently I highly recommend using second approach -- 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 #681053]: Read multiple .doc Files. into Array. Each file goes into 1 index.
Question #681053 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/681053 TestMechanic posted a new comment: I am not sure that I understand what you want to do - make a video with 3 files to explain better Also not sure if Sikuli will be your best approach... there are command line tools for doing this - like https://github.com/tobya/DocTo -- 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 #680728]: Is there any wait until available in Sikuli
Question #680728 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/680728 TestMechanic posted a new comment: 1. In most cases load indicators are not static images but animations. This may be issue for you 2. If waiting too long you may consider less cpu intensive approach than waitVanish. for example loop with exists() and sleep() -- 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 #680452]: Sikuli 1.1.4 - java server remote console keyboard passthrough not working
Question #680452 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/680452 Status: Open => Needs information TestMechanic requested more information: OK. Now it is clear. Seems like what you are doing is correct. In order to investigate where is the problem i would suggest following -- try same script against other windows application - let say chrome - if this works seems that problem is specific to remote console -- try another key sending tools like AitoIt or Hotkey to see if they are working with this remote console -- maybe you can try sikuli version 1.1.3 Based on this we may be able to identify where is the 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 #680452]: Sikuli 1.1.4 - java server remote console keyboard passthrough not working
Question #680452 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/680452 Status: Open => Needs information TestMechanic requested more information: I am not sure what exactly you are trying to do. Can you record a video of your action so we can see it? -- 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 #680332]: How can I detect multiple languages in the same image?
Question #680332 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/680332 TestMechanic posted a new comment: Melissa, Sorry for misspelling your name in my previous post -- 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 #680332]: How can I detect multiple languages in the same image?
Question #680332 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/680332 TestMechanic posted a new comment: Mellisa, If you share more about the problem there may be another solution. 1. Can you copy text from those "images"? Are they pure images or they exist in web page like texts? 2. You may try OCR them in sequence for all languages until getting reasonable 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
Re: [Sikuli-driver] [Question #680319]: Mac OSX Startup
Question #680319 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/680319 TestMechanic proposed the following answer: In order to tart something when MAC starts do this Go to Preferences/User and groups Select your user Go to Login Items Add your script there -- 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 #679717]: Illegal reflective access when runing Sikuli on Linux
Question #679717 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679717 Status: Answered => Solved TestMechanic confirmed that the question is solved: Thanks This solves my problem BTW: openjdk installation was the first think I isntalled after clear VM was created from original ISO I decided to install openjdk-8 and to go with it :-) -- 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 #679717]: Illegal reflective access when runing Sikuli on Linux
New question #679717 on Sikuli: https://answers.launchpad.net/sikuli/+question/679717 Here is my setup: -- Clean VM with Lubuntu 18.04.02 LTS -- Installed openjdk-11-jdk but strangely it shows 10.0.2 java -version openjdk version "10.0.2" 2018-07-17 OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4) OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode) -- Installed libopencv3.2-java as recommended Starting sikuli IDE results in some bad warnings: java -jar sikulix.jar (java:14385): dbind-WARNING **: 12:28:45.440: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.sikuli.ide.CloseableModernTabbedPaneUI (file:/home/test/SikuliX1.4/sikulix.jar) to constructor javax.swing.plaf.basic.BasicTabbedPaneUI$Actions(java.lang.String) WARNING: Please consider reporting this to the maintainers of org.sikuli.ide.CloseableModernTabbedPaneUI WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release similar is for attempt to start test from console java -jar sikulix.jar -r ~/t1.sikuli (java:14473): dbind-WARNING **: 12:29:47.715: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.python.core.PySystemState (file:/home/test/.Sikulix/Extensions/jython-standalone-2.7.1.jar) to method java.io.Console.encoding() WARNING: Please consider reporting this to the maintainers of org.python.core.PySystemState WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release --- Note that both IDE and console script are working ... but warnings looks bad :-) Is there something that I can do to resolve those warnings? 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 #678208]: How to get Sikuli version via console for version 1.4+
New question #678208 on Sikuli: https://answers.launchpad.net/sikuli/+question/678208 Until version 1.4 i was able to see sikuli version by running runsikuli.cmd -d 3 -c -r and then parse the output to extract version Now in version 1.4 same command doesn't provide version information -- 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 #678017]: App class - check for installed app without running it
Question #678017 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678017 TestMechanic posted a new comment: Verifying if app is installed(correctly) will differ between OSes. I think it is not part of App class. I would suggest to implement it outside of sikuli (or if jyhton/java is an option you can use code directly in sikui) -- 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 #678044]: Click randomly a repeated image using java code
Question #678044 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678044 Status: Open => Answered TestMechanic proposed the following answer: Use findAll method and iterate via all found elements. -- 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 #677799]: Use dotted characters in Windows
Question #677799 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/677799 TestMechanic posted a new comment: @Akos, So you cannot execute even type('test') in pure English? -- 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 #677799]: Use dotted characters in Windows
Question #677799 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/677799 Status: Open => Answered TestMechanic proposed the following answer: Hi Akos, I have one idea that can help you. Lets imagine you have 2 keyboard layout installed. I have English and Bulgarian. The hot key for switching is windows key + space key. The idea is to switch between languages and type in English with key that will produce your desired output. Here is example in Cyrillic but will work for any language # staring with English switchApp("Notepad") # now switch to your second language type(Key.SPACE, KeyModifier.WIN) # type Latin letters that correspond to your second language letters type("zdrawej") Here is the video demonstrating above approach - https://www.screencast.com/t/xgVoUpoAKeoG Note in the bottom-right corner the language indicator Hope this helps -- 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 #677302]: Import httplib failing with "cannot import name BlockingIOError"
Question #677302 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/677302 Status: Answered => Solved TestMechanic confirmed that the question is solved: Thanks that fixed the 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 #677302]: Import httplib failing with "cannot import name BlockingIOError"
Question #677302 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/677302 TestMechanic posted a new comment: Can we log this like bug? -- 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 #676872]: Differentiate identical buttons
Question #676872 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676872 TestMechanic proposed the following answer: Here is ready for use method: def GetImage_X_sort(img, n): print ("Look X sorted elements like " + str(img) + " and take number " + str(n)) res=findAll(img) sorted_img = sorted(res, key=lambda m:m.x) sorted_img[n-1].highlight(2) return sorted_img[n-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 #677380]: scroll down a page with findAll list
Question #677380 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/677380 TestMechanic posted a new comment: Post the new code here. Unfortunately even if we get this right I am guessing one more problem :-). But lest go step by step ... -- 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 #676954]: clear cursor
Question #676954 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676954 TestMechanic posted a new comment: Seems like I was able to automate this scenario and there is no side effects like one you are reporting Here is the video record of the run(not sure why mouse was not recorded in the video) https://www.screencast.com/t/qORcRw6sXK At the beginning of the video you can see the test script as well -- 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 #677380]: scroll down a page with findAll list
Question #677380 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/677380 Status: Open => Answered TestMechanic proposed the following answer: I do not see where is your second findAll. Your first findAll is outside the loop. So you are never updating find result after the first page -- 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 #676954]: clear cursor
Question #676954 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676954 TestMechanic posted a new comment: I installed trial expert version and created a project however my project looks different and Schema is missing Here is the difference - https://www.screencast.com/t/dCFGvPsx You can record short video to show how to create schema starting from new project -- 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 #677290]: Order of functions called in Sikuli
Question #677290 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/677290 TestMechanic posted a new comment: A1: I am using names like test_0010_CreateProject. In this way I can sort my test in the desired way. A2: In the console you are seeing 1 letter indication about status of each case . = pass E = exception F = failure In the html report you can see details about exception or the failure -- 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 #677302]: Import httplib failing with "cannot import name BlockingIOError"
New question #677302 on Sikuli: https://answers.launchpad.net/sikuli/+question/677302 note: this is working fine with Sikuli 1.2 and 1.3 Steps to reproduce: -- Use latest 1.4 sikuli -- java 1.8, jython 2.7.1 -- windows 10 -- open IDE -- type one line "import httplib" -- save and run Error appear: [error] script [ temp1 ] stopped with error at line --unknown-- [error] Error caused by: Traceback (most recent call last): File "C:\work\temp1.sikuli\temp1.py", line 2, in import httplib File "C:\Users\tester\AppData\Roaming\Sikulix\Lib\httplib.py", line 79, in import mimetools File "C:\Users\tester\AppData\Roaming\Sikulix\Lib\mimetools.py", line 6, in import tempfile File "C:\Users\tester\AppData\Roaming\Sikulix\Lib\tempfile.py", line 32, in import io as _io File "C:\Users\tester\AppData\Roaming\Sikulix\Lib\io.py", line 70, in from _jyio import (DEFAULT_BUFFER_SIZE, BlockingIOError, UnsupportedOperation, ImportError: cannot import name BlockingIOError 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 #676793]: How to update XML file remotely at particular node?
Question #676793 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676793 TestMechanic proposed the following answer: Are you trying to update text is some editor? It can be done but you need to provide more info about the text editor (screenshot or clip) If UI editing is not required You can use conventional file operations. -- 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 #676871]: Unable to type in Windows file browser dialog
Question #676871 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676871 TestMechanic posted a new comment: Akos, paste here your type() command -- 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 #676954]: clear cursor
Question #676954 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676954 TestMechanic posted a new comment: An important note here. Sikuli doesn't know anything about your application beside image on the screen. Any actions performed by Sikuli are not specific to your application. It just happens your app to be on focus when actions are performed :-). So chance of Sikuli wrong doing is low. In contrast popular UI automation like Test complete and likewise are drilling down in application DOM and sending events to DOM elements. Same is for Selenium against web apps. And here tool can mess things since it is interacting not on a UI level but on DOM And back to original question: I am interested to try this problem if there is a trial version of this design app. -- 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 #676872]: Differentiate identical buttons
Question #676872 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676872 TestMechanic proposed the following answer: There are many ways to solve this challenge. First of all buttons looks the same but have different coordinates .x and .y. So you can just compare coordinates and see left-right top-down order. -- 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 #673407]: Install and deistall using .sh scripts
Question #673407 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/673407 Status: Open => Answered TestMechanic proposed the following answer: you can call > echo $? to see exit code of last command in linux But I think this is not enough. You need to find ways to verify that your script was done the things that needs to be done. -- 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 #674152]: Detect VNC disconnect
Question #674152 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/674152 Status: Open => Answered TestMechanic proposed the following answer: It seems like you should retry let say every 20 seconds for up to 5 minutes. If connections is OK just break the wait loop. -- 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 #671307]: Sikuli does not execute the commands properly
Question #671307 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671307 TestMechanic proposed the following answer: Sander, Try to execute following command in console and then reboot your Mac (you may need sudo) defaults write -g ApplePressAndHoldEnabled -bool false -- 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 #671307]: Sikuli does not execute the commands properly
Question #671307 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671307 Status: Open => Answered TestMechanic proposed the following answer: I posted similar problem back in 2017 for MacOS Sierra https://answers.launchpad.net/sikuli/+question/562274 -- 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 #671168]: Image : Image text is not valid , but SearchText is switched off!!
Question #671168 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671168 TestMechanic posted a new comment: Provided code example is complex and uncompleted. Try to isolate your problem just to 2-3 files max. -- 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 #671307]: Sikuli does not execute the commands properly
Question #671307 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671307 Status: Open => Answered TestMechanic proposed the following answer: You are executing above code against what? There is a chance that your app under test is switching focus. Try adding "sleep(1)" after click and type commands -- 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