[Sikuli-driver] [Question #663480]: How to create multiple app instances out of one app - chrome?

2018-01-23 Thread Shekhar
New question #663480 on Sikuli: https://answers.launchpad.net/sikuli/+question/663480 Hi, I need the different browser windows of my google chrome browser to be treated as a distinct applications by sikuli. I would like to use app instance methods like someapp.focus(), someapp.close(), etc. on t

Re: [Sikuli-driver] [Question #662065]: Failed test cases are displayed under Error on HTML test Report

2018-01-23 Thread RaiMan
Question #662065 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/662065 Status: Open => Answered RaiMan proposed the following answer: see: http://sikulix-2014.readthedocs.io/en/latest/region.html#exception-findfailed the rest simply is unit-testing behaviour. you might us

Re: [Sikuli-driver] [Question #662065]: Failed test cases are displayed under Error on HTML test Report

2018-01-23 Thread Hina
Question #662065 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/662065 Status: Answered => Open Hina is still having a problem: Do we have any example for FindFailed exception? -- You received this question notification because your team Sikuli Drivers is an answer contac

Re: [Sikuli-driver] [Question #663374]: Unable to call SikuliX 1.1.2 script by import function

2018-01-23 Thread RaiMan
Question #663374 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663374 Status: Open => Answered RaiMan proposed the following answer: Go back to comment #3 and try to understand -- You received this question notification because your team Sikuli Drivers is an answer conta

Re: [Sikuli-driver] [Question #663374]: Unable to call SikuliX 1.1.2 script by import function

2018-01-23 Thread sami baig
Question #663374 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663374 Status: Answered => Open sami baig is still having a problem: I think this codes not working because I am using 1.1.2 version of SikuliX and it is stated 1.1.1 on webpage ? Please help me out, I have als

Re: [Sikuli-driver] [Question #663409]: Right click and Drag

2018-01-23 Thread Test App
Question #663409 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663409 Status: Answered => Solved Test App confirmed that the question is solved: Thanks Masuo Your solution worked perfect :) -- You received this question notification because your team Sikuli Drivers is a

Re: [Sikuli-driver] [Question #663374]: Unable to call SikuliX 1.1.2 script by import function

2018-01-23 Thread RaiMan
Question #663374 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663374 RaiMan requested more information: ??? I am German -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #663374]: Unable to call SikuliX 1.1.2 script by import function

2018-01-23 Thread sami baig
Question #663374 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663374 sami baig posted a new comment: Madarchot :) -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mai

Re: [Sikuli-driver] [Question #663374]: Unable to call SikuliX 1.1.2 script by import function

2018-01-23 Thread RaiMan
Question #663374 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663374 Status: Open => Answered RaiMan proposed the following answer: Sorry, but that is not what is suggested there. If the main and imported script are in the same folder (a SikuliX script is the someScript.

Re: [Sikuli-driver] [Question #663439]: In CentOS, "getPID" "isRunning" is not working properly

2018-01-23 Thread RaiMan
Question #663439 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663439 Status: Open => Answered RaiMan proposed the following answer: the basic App implementation internally uses wmctrl You have to check the other App features or issue a wmctrl command using subprocess. -

Re: [Sikuli-driver] [Question #663439]: In CentOS, "getPID" "isRunning" is not working properly

2018-01-23 Thread Rathinavel
Question #663439 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663439 Status: Solved => Open Rathinavel is still having a problem: Is there anyway to check, particular window is running or not in Linux.. -- You received this question notification because your team S

Re: [Sikuli-driver] [Question #663402]: Region.findText(): Finding text with Java API

2018-01-23 Thread Jeff Hall
Question #663402 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663402 Status: Answered => Solved Jeff Hall confirmed that the question is solved: Aaagh, user error! Causing myself grief with typos. Once I got that sorted out, the Region.findText() method is indeed workin

Re: [Sikuli-driver] [Question #663374]: Unable to call SikuliX 1.1.2 script by import function

2018-01-23 Thread sami baig
Question #663374 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663374 Status: Answered => Open sami baig is still having a problem: According to given introductions in this link (http://sikulix-2014.readthedocs.io/en/latest/scripting.html#importing- other-sikuli-scripts-re

Re: [Sikuli-driver] [Question #663402]: Region.findText(): Finding text with Java API

2018-01-23 Thread RaiMan
Question #663402 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663402 RaiMan requested more information: Just tested on 1.1.2 --- works. anything to see in the stack trace about the exception source? -- You received this question notification because your team Sikuli Drivers

Re: [Sikuli-driver] [Question #663402]: Region.findText(): Finding text with Java API

2018-01-23 Thread Jeff Hall
Question #663402 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663402 Jeff Hall posted a new comment: Thanks for the confirmation RaiMan! The problem must be on my end. I keep getting a NullPointerException from the screen.findText() method in the following example class, but

Re: [Sikuli-driver] [Question #663439]: In CentOS, "getPID" "isRunning" is not working properly

2018-01-23 Thread Rathinavel
Question #663439 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663439 Status: Answered => Solved Rathinavel confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Drivers is an an

Re: [Sikuli-driver] [Question #663439]: In CentOS, "getPID" "isRunning" is not working properly

2018-01-23 Thread RaiMan
Question #663439 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663439 Status: Open => Answered RaiMan proposed the following answer: sorry for the glitch: getPid() is not implemented for Linux. Try another solution for that on Linux. -- You received this question notifi

[Sikuli-driver] [Question #663439]: In CentOS, "getPID" "isRunning" is not working properly

2018-01-23 Thread Rathinavel
New question #663439 on Sikuli: https://answers.launchpad.net/sikuli/+question/663439 Hi, Am using SikulixIDE 1.1.1 in CentOS Linux release 7.3.1611 (Core) I am trying to get the PID of the window "cids". The below code is working perfectly in Windows. Returning process id if it is running o

Re: [Sikuli-driver] [Question #663391]: Action (Click/Type) on similar elements on a screen

2018-01-23 Thread RaiMan
Question #663391 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663391 RaiMan proposed the following answer: after step 3: // get the match from step 3 Match matchP2 = screen.getLastMatch() //create a suitable region where to look for the "desired image" regionP2 = matchP2.gro

[Sikuli-driver] [Bug 1744895] Re: [1.1.1] runScript: parameters should be allowed to be everything, not only strings

2018-01-23 Thread RaiMan
** Description changed: + will not fix decision: + + According to the Python conventions, sys.argv is a list of simple + strings, since it represents the parameters given on a commandline when + running the script. + + For the internal use of runScript you can turn any parameter in the main

[Sikuli-driver] [Bug 1744895] Re: [1.1.1] runScript: parameters should be allowed to be everything, not only strings

2018-01-23 Thread RaiMan
** Changed in: sikuli Status: Fix Committed => Won't Fix ** Changed in: sikuli Importance: High => Undecided ** Changed in: sikuli Milestone: 1.1.2 => None -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs

[Sikuli-driver] [Question #663380]: Status of bug #1744895 changed to 'Won't Fix' in Sikuli

2018-01-23 Thread RaiMan
Bug #1744895 status changed in Sikuli: Fix Committed => Won't Fix https://bugs.launchpad.net/sikuli/+bug/1744895 "[1.1.1] runScript: parameters should be allowed to be everything, not only strings" This bug is linked to #663380. [1.1.1] runScript: Error of 2nd arg can't be coerced to String

Re: [Sikuli-driver] [Question #663391]: Action (Click/Type) on similar elements on a screen

2018-01-23 Thread Vin Uppinkudru
Question #663391 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663391 Vin Uppinkudru posted a new comment: Hi RaiMan, Thank you so much for you help. I was able to use the Target Offset on the pattern and i was able to achieve the goal. Below is the snippet i used S

Re: [Sikuli-driver] [Question #663402]: Region.findText(): Finding text with Java API

2018-01-23 Thread RaiMan
Question #663402 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663402 Status: Open => Answered RaiMan proposed the following answer: yes, works as it should (tested ;-) --- because it doesn't seem to work as expected with my code ... what exactly? -- You received this q

Re: [Sikuli-driver] [Question #663380]: [1.1.1] runScript: Error of 2nd arg can't be coerced to String[] --- parameters must be simple strings

2018-01-23 Thread lynn
Question #663380 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663380 lynn posted a new comment: I see, thanks a lot. I will try the suggestions you give :) -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #663402]: Region.findText(): Finding text with Java API

2018-01-23 Thread RaiMan
Question #663402 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663402 Summary changed to: Region.findText(): Finding text with Java API -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. __

Re: [Sikuli-driver] [Question #663380]: [1.1.1] runScript: Error of 2nd arg can't be coerced to String[] --- parameters must be simple strings

2018-01-23 Thread lynn
Question #663380 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663380 Status: Answered => Solved lynn 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 c

[Sikuli-driver] [Bug 1744895] [NEW] [1.1.1] runScript: parameters should be allowed to be everything, not only strings

2018-01-23 Thread RaiMan
Public bug reported: I met below error when try to use sys.argv[] on sikuli IDE 1.1.1 I am try to parse below array to another script in IDE Settings.DebugLogs=True pt1=("25","225") pt2=("25","235") pt3=("127.5","25") mylist=(pt1,pt2,pt3) print mylist runScript("D:/KT_Work/Sikuli/tempTe

Re: [Sikuli-driver] [Question #663380]: [1.1.1] runScript: Error of 2nd arg can't be coerced to String[] --- parameters must be simple strings

2018-01-23 Thread RaiMan
Question #663380 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663380 Linked to bug: #1744895 https://bugs.launchpad.net/bugs/1744895 "[1.1.1] runScript: parameters should be allowed to be everything, not only strings" -- You received this question notification b

[Sikuli-driver] [Question #663380]: Status of bug #1744895 changed to 'Fix Committed' in Sikuli

2018-01-23 Thread RaiMan
Bug #1744895 status changed in Sikuli: New => Fix Committed https://bugs.launchpad.net/sikuli/+bug/1744895 "[1.1.1] runScript: parameters should be allowed to be everything, not only strings" This bug is linked to #663380. [1.1.1] runScript: Error of 2nd arg can't be coerced to String[] ---

Re: [Sikuli-driver] [Question #663380]: [1.1.1] runScript: Error of 2nd arg can't be coerced to String[] --- parameters must be simple strings

2018-01-23 Thread RaiMan
Question #663380 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663380 RaiMan proposed the following answer: ... added a remark to the docs. I make this a request bug, because your first approach makes sense. -- You received this question notification because your team Sikuli

Re: [Sikuli-driver] [Question #663380]: [1.1.1] runScript: Error of 2nd arg can't be coerced to String[] --- parameters must be simple strings

2018-01-23 Thread RaiMan
Question #663380 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663380 Summary changed to: [1.1.1] runScript: Error of 2nd arg can't be coerced to String[] --- parameters must be simple strings -- You received this question notification because your team Sikuli Drivers is an

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

2018-01-23 Thread RaiMan
Question #663380 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663380 Status: Open => Answered RaiMan proposed the following answer: Uuups, sorry for the misleading of the discussion. The problem is built-in by the one, who implemented runScript (guess who ;-) The parame

Re: [Sikuli-driver] [Question #663312]: how can to control FindFailed

2018-01-23 Thread RaiMan
Question #663312 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663312 RaiMan proposed the following answer: -- 1. SikuliX surely works on all macOS, since I am developing on macOS (currently 10.13.2) -- 2. FindFailed means, that the image (if the file exists) cannot be found o

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

2018-01-23 Thread lynn
Question #663380 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663380 Status: Answered => Open lynn is still having a problem: And I change to main script as Settings.DebugLogs=True pt1=("25","225") pt2=("25","235") pt3=("127.5","25") mylist=[pt1,pt2,pt3] str(myl

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

2018-01-23 Thread lynn
Question #663380 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663380 lynn posted a new comment: At above result "print mylist" also works. Complete result is [('25', '225'), ('25', '235'), ('127.5', '25')] [error] script [ 5xx ] stopped with error at line --unknown-- [error]

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

2018-01-23 Thread lynn
Question #663380 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/663380 lynn posted a new comment: Hi Roman I want to parse a list of coordinators, that is why I do the experiment "print mylist" could work successfully as [('25', '225'), ('25', '235'), ('127.5', '25')] Maybe I