Re: [Sikuli-driver] [Question #671307]: Sikuli does not execute the commands properly

2018-08-02 Thread TestMechanic
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

Re: [Sikuli-driver] [Question #671298]: Click on one result out of a list shown in UI

2018-08-02 Thread RaiMan
Question #671298 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671298 Status: Needs information => Answered RaiMan proposed the following answer: Upload it somewhere and put a link here. -- You received this question notification because your team Sikuli Drivers is an

Re: [Sikuli-driver] [Question #671168]: Image : Image text is not valid , but SearchText is switched off!!

2018-08-02 Thread RaiMan
Question #671168 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671168 Status: Open => Answered RaiMan proposed the following answer: ok, this you have: # images.sikuli # containing img1 = "image1.png" …. more of them # main.sikuli # containing from images.sikuli import

Re: [Sikuli-driver] [Question #671168]: Image : Image text is not valid , but SearchText is switched off!!

2018-08-02 Thread TestMechanic
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

Re: [Sikuli-driver] [Question #671307]: Sikuli does not execute the commands properly

2018-08-02 Thread TestMechanic
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

Re: [Sikuli-driver] [Question #671301]: Taking a screenshot always attaches unwanted digits in the filename

2018-08-02 Thread RaiMan
Question #671301 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671301 Status: Open => Answered RaiMan proposed the following answer: you might use instead: capture(SCREEN).getFile(…..) according to this: /** * stores the image as PNG file in the given

Re: [Sikuli-driver] [Question #671298]: Click on one result out of a list shown in UI

2018-08-02 Thread Anupam Yadav
Question #671298 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671298 Anupam Yadav posted a new comment: Can you please help me, how can i upload a photo in sikuli launchpad?? -- You received this question notification because your team Sikuli Drivers is an answer contact

Re: [Sikuli-driver] [Question #671307]: Sikuli does not execute the commands properly

2018-08-02 Thread RaiMan
Question #671307 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671307 RaiMan proposed the following answer: Since Sikuli does not know anything about timing of the underlying GUI, you have to add some wait() after an action, that should activate an input field for type (give

Re: [Sikuli-driver] [Question #671307]: Sikuli does not execute the commands properly

2018-08-02 Thread Sander
Question #671307 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671307 Status: Answered => Solved Sander confirmed that the question is solved: Thank you for your answers, the issue is fixed. Adding wait() methods to it and now it works properly. -- You received this

Re: [Sikuli-driver] [Question #671319]: Saving Clipboard in to a variable

2018-08-02 Thread Sander
Question #671319 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671319 Description changed to: Hi there, I've seen a lot of tickets with regards clipboard(). I am using a Mac and installed Sikulix 1.1.2. Using the following command:

Re: [Sikuli-driver] [Question #671319]: Saving Clipboard in to a variable

2018-08-02 Thread Sander
Question #671319 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671319 Description changed to: Hi there, I've seen a lot of tickets with regards clipboard(). I am using a Mac and installed Sikulix 1.1.2. Using the following commands:

[Sikuli-driver] [Question #671319]: Saving Clipboard in to a variable

2018-08-02 Thread Sander
New question #671319 on Sikuli: https://answers.launchpad.net/sikuli/+question/671319 Hi there, I've seen a lot of tickets with regards clipboard(). I am using a Mac and installed 1.1.2. Using the following command: doubleClick(Pattern(someText).targetOffset(90,-70)) and type("c",

Re: [Sikuli-driver] [Question #671307]: Sikuli does not execute the commands properly

2018-08-02 Thread Sander
Question #671307 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671307 Status: Answered => Open Sander is still having a problem: Hi TestMechanic, Using Safari. Do I need to add sleep(1) after every click and type command??? Hm, I used to use Windows, that worked fine

Re: [Sikuli-driver] [Question #671298]: Click on one result out of a list shown in UI

2018-08-02 Thread TestMechanic
Question #671298 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671298 Status: Open => Needs information TestMechanic requested more information: A screenshot or video will help us to help you. -- You received this question notification because your team Sikuli Drivers

Re: [Sikuli-driver] [Question #671307]: Sikuli does not execute the commands properly

2018-08-02 Thread TestMechanic
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)"

[Sikuli-driver] [Question #671298]: Click on one result out of a list shown in UI

2018-08-02 Thread Anupam Yadav
New question #671298 on Sikuli: https://answers.launchpad.net/sikuli/+question/671298 Hi, I am creating a utility/bot, in which i need to click on items one by one out two to three items/results shown in the UI. What logic should i use to click on items one by one. -- You received this

Re: [Sikuli-driver] [Question #671298]: Click on one result out of a list shown in UI

2018-08-02 Thread Anupam Yadav
Question #671298 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671298 Description changed to: Hi, I am creating a utility/bot, in which i need to click on items one by one out of multiple results/items shown but at a time, two to three items/results shown in the UI. What logic

Re: [Sikuli-driver] [Question #670899]: saved program no longer works

2018-08-02 Thread Launchpad Janitor
Question #670899 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/670899 Status: Open => Expired Launchpad Janitor expired the question: This question was expired because it remained in the 'Open' state without activity for the last 15 days. -- You received this question

Re: [Sikuli-driver] [Question #670437]: Need some pointers on how to test POS with Sikuli

2018-08-02 Thread Launchpad Janitor
Question #670437 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/670437 Status: Open => Expired Launchpad Janitor expired the question: This question was expired because it remained in the 'Open' state without activity for the last 15 days. -- You received this question

Re: [Sikuli-driver] [Question #671266]: creating an image lib

2018-08-02 Thread Manfred Hampl
Question #671266 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671266 Status: Open => Answered Manfred Hampl proposed the following answer: The lines image1 = image1.png image2 = image2.png are definitely wrong, they have to be image1 = "image1.png" image2 =

Re: [Sikuli-driver] [Question #671266]: creating an image lib

2018-08-02 Thread Sander
Question #671266 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671266 Status: Answered => Open Sander is still having a problem: Hi Manfred, Thanks for coming back on this. You are correct. That is my mistake editing this answer. But the actual problem is, is that is

[Sikuli-driver] [Bug 1784861] Re: Double click is sometimes not executed on a region

2018-08-02 Thread RaiMan
should first be a question ** Changed in: sikuli Status: New => Invalid ** Converted to question: https://answers.launchpad.net/sikuli/+question/671302 -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli.

[Sikuli-driver] [Bug 1784869] Re: Taking a screenshot always attaches unwanted digits in the filename

2018-08-02 Thread RaiMan
should first be a question ** Changed in: sikuli Status: New => Invalid ** Converted to question: https://answers.launchpad.net/sikuli/+question/671301 -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli.

Re: [Sikuli-driver] [Question #671266]: creating an image lib

2018-08-02 Thread Sander
Question #671266 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671266 Status: Answered => Solved Sander confirmed that the question is solved: Hi Raiman, It works, it does recognise the images :-) For the someImages.sikuli I've removed all import statements The

[Sikuli-driver] [Question #671307]: Sikuli does not execute the commands properly

2018-08-02 Thread Sander
New question #671307 on Sikuli: https://answers.launchpad.net/sikuli/+question/671307 Hi Raiman, When I execute the following: wait(POSTCODE) click(POSTCODE) type("617LZ") type(Key.TAB) type("34") click(Next) It fills in: POSTCODE: 17IZ NEXT FIELD: 634 So basically it is missing the character

Re: [Sikuli-driver] [Question #671266]: creating an image lib

2018-08-02 Thread RaiMan
Question #671266 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671266 Status: Open => Answered RaiMan proposed the following answer: --1. the main script (the one, that is run) does not need from sikuli import * --2. when using import for the script, that contains the

Re: [Sikuli-driver] [Question #671302]: Double click is sometimes not executed on a region

2018-08-02 Thread RaiMan
Question #671302 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671302 RaiMan posted a new comment: should first be a question -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #671301]: Taking a screenshot always attaches unwanted digits in the filename

2018-08-02 Thread RaiMan
Question #671301 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671301 RaiMan posted a new comment: should first be a question -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli.

[Sikuli-driver] [Question #671302]: Double click is sometimes not executed on a region

2018-08-02 Thread Cosmin Niculae
New question #671302 on Sikuli: https://answers.launchpad.net/sikuli/+question/671302 In the tests I am writing, the double click function sometimes does not perform and sometimes not even the click. Therefore, I had to rewrite the functions myself to use Mouse Down and Mouse Down with a delay

[Sikuli-driver] [Question #671301]: Taking a screenshot always attaches unwanted digits in the filename

2018-08-02 Thread Cosmin Niculae
New question #671301 on Sikuli: https://answers.launchpad.net/sikuli/+question/671301 Whenever the user takes a screenshot via code, the file is appended with digits showing the date it was taken. This makes it tedious when the user has to search for an image. For example, taking

Re: [Sikuli-driver] [Question #671301]: Taking a screenshot always attaches unwanted digits in the filename

2018-08-02 Thread RaiMan
Question #671301 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671301 Status: Open => Needs information RaiMan requested more information: I do not know the function saveScreenshot() as a feature of SikuliX. So what are you talking about? -- You received this question

Re: [Sikuli-driver] [Question #671302]: Double click is sometimes not executed on a region

2018-08-02 Thread RaiMan
Question #671302 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671302 Status: Open => Answered RaiMan proposed the following answer: There are some settings available, to adjust the mouse behavior: http://sikulix-2014.readthedocs.io/en/latest/scripting.html#Settings If

Re: [Sikuli-driver] [Question #670975]: Having trouble installing Sikuli on Ubuntu 18.04LTS

2018-08-02 Thread TestMechanic
Question #670975 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/670975 TestMechanic proposed the following answer: I was able to compile steps for configuring required modules for sikuli 1.1.2 on Ubuntu18/Lubuntu18

Re: [Sikuli-driver] [Question #671301]: Taking a screenshot always attaches unwanted digits in the filename

2018-08-02 Thread Cosmin Niculae
Question #671301 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671301 Status: Needs information => Open Cosmin Niculae gave more information on the question: Sorry, I meant to say save saveScreenCapture(). -- You received this question notification because your team

Re: [Sikuli-driver] [Question #671301]: Taking a screenshot always attaches unwanted digits in the filename

2018-08-02 Thread Cosmin Niculae
Question #671301 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671301 Description changed to: Whenever the user takes a screenshot via code, the file is appended with digits showing the date it was taken. This makes it tedious when the user has to search for an image. For