Re: [Sikuli-driver] [Question #678017]: App class - check for installed app without running it

2019-01-29 Thread Rares Pasca
Question #678017 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678017 Rares Pasca posted a new comment: Exactly, forgot to mention this. If the app is not installed via windows installer it won't work expectedVersion = "appNameVersion" expe

Re: [Sikuli-driver] [Question #678017]: App class - check for installed app without running it

2019-01-29 Thread Rares Pasca
Question #678017 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678017 Rares Pasca posted a new comment: Just to be sure i'm searching for the app registry key and version System name. def isAlreadyInstalled(lookupRegistryKey): consoleLines = os.popen('

[Sikuli-driver] [Question #678017]: App class - check for installed app without running it

2019-01-23 Thread Rares Pasca
New question #678017 on Sikuli: https://answers.launchpad.net/sikuli/+question/678017 Hello, Does class App from sikuli privodes a method that returns if the requested app is installed or not without opening it? I can't see this in documentation. I know there are other ways to do it outside sik

Re: [Sikuli-driver] [Question #677960]: TypeError: 'NoneType' object is not callable - from HTML test runner

2019-01-23 Thread Rares Pasca
Question #677960 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/677960 Rares Pasca posted a new comment: No problem. I found a solution for this, i will come back with a detailed answer when I have time. -- You received this question notification because your team Sikuli

Re: [Sikuli-driver] [Question #677960]: TypeError: 'NoneType' object is not callable - from HTML test runner

2019-01-21 Thread Rares Pasca
Question #677960 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/677960 Rares Pasca posted a new comment: This comes apparently from HTMLTestRunner.py line 678: def run(self, test): "Run the given test case or test suite."

Re: [Sikuli-driver] [Question #677960]: TypeError: 'NoneType' object is not callable - from HTML test runner

2019-01-21 Thread Rares Pasca
Question #677960 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/677960 Rares Pasca posted a new comment: Forgot to add the code for main: if __name__== "__main__": myClass.createFolder(HagercadConfig.HAGERCAD_TEST_REPORTS_FOLDER) unittest.Text

[Sikuli-driver] [Question #677960]: TypeError: 'NoneType' object is not callable - from HTML test runner

2019-01-21 Thread Rares Pasca
New question #677960 on Sikuli: https://answers.launchpad.net/sikuli/+question/677960 Hello, i am using Sikuli,unittest and HTMLTestRunner . I have a CSV file that looks like this for example: startApp,createNewProject startApp,createNewProject,createDiagram For each line in the CSV I'm creatin

Re: [Sikuli-driver] [Question #677438]: Pass argument to test runner

2019-01-15 Thread Rares Pasca
Question #677438 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/677438 Rares Pasca posted a new comment: No problem. In the meantime i hope i will find a solution. Wish you all the best. -- You received this question notification because your team Sikuli Drivers is an answer

Re: [Sikuli-driver] [Question #677438]: Pass argument to test runner

2019-01-15 Thread Rares Pasca
Question #677438 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/677438 Rares Pasca posted a new comment: I'm halfway trough. I give the following arguments in cmd: java -jar pathToSikuli -r pathToTestRunner --args MyClass.startApp() MyMethodLocation.createProject() The

Re: [Sikuli-driver] [Question #677438]: Pass argument to test runner

2019-01-14 Thread Rares Pasca
Question #677438 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/677438 Rares Pasca posted a new comment: Is it possible to make it run from outside the class? I'm trying to make a configuration to run the tests like this from command line. So i have 200 methods let'

Re: [Sikuli-driver] [Question #677438]: Pass argument to test runner

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

Re: [Sikuli-driver] [Question #677438]: Pass argument to test runner

2019-01-10 Thread Rares Pasca
Question #677438 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/677438 Rares Pasca posted a new comment: Thank you very much. I still have something to ask. So this is the test class that i;m using file it's called HagercadTests: class TestRegression(unittest.Tes

Re: [Sikuli-driver] [Question #677438]: Pass argument to test runner

2019-01-10 Thread Rares Pasca
Question #677438 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/677438 Rares Pasca posted a new comment: forgot some imports at the begninng but it doesnt matter -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

[Sikuli-driver] [Question #677438]: Pass argument to test runner

2019-01-10 Thread Rares Pasca
New question #677438 on Sikuli: https://answers.launchpad.net/sikuli/+question/677438 Hello, So my test runner file uses HTML test runner. It basically looks like this: import sys.argv if __name__== "__main__": HagercadUtilities.Utilities.createFolder(HagercadConfig.HAGERCAD_TEST_REPORTS

Re: [Sikuli-driver] [Question #677393]: Executing test sequences with a csv file

2019-01-08 Thread Rares Pasca
Question #677393 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/677393 Rares Pasca posted a new comment: Thanks, so basically i have to re-organize my code . Read the csv file and then run the suite with the help of unittest + html test runner -- You received this question

[Sikuli-driver] [Question #677393]: Executing test sequences with a csv file

2019-01-08 Thread Rares Pasca
New question #677393 on Sikuli: https://answers.launchpad.net/sikuli/+question/677393 Hello, is it possible to achieve this in sikuli? "Add a way to specify a file through the command line which contains a sequence of tests to execute ; the feature is defined as follows: If nothing is specified,

Re: [Sikuli-driver] [Question #677393]: Executing test sequences with a csv file

2019-01-08 Thread Rares Pasca
Question #677393 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/677393 Rares Pasca posted a new comment: unittest and html test runner are used with sikuli -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #676954]: clear cursor

2019-01-08 Thread Rares Pasca
Question #676954 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676954 Rares Pasca posted a new comment: Thank you for feedback. In the end I was also able to do it without problems. I think the mistake was that I was doing doubleClick() instead of click in some places

Re: [Sikuli-driver] [Question #676954]: clear cursor

2019-01-03 Thread Rares Pasca
Question #676954 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676954 Rares Pasca posted a new comment: https://www.dropbox.com/s/hi11xr5esatg7s5/20190104_093820.mp4?dl=0 Sorry, i forgot that I've only found the german version for trial. So here is the link with the ste

Re: [Sikuli-driver] [Question #676954]: clear cursor

2019-01-03 Thread Rares Pasca
Question #676954 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676954 Rares Pasca posted a new comment: https://www.dropbox.com/s/hi11xr5esatg7s5/20190104_093820.mp4?dl=0 Sorry, i forgot that I've only found the german version for trial. So here is the link with the ste

Re: [Sikuli-driver] [Question #676954]: clear cursor

2019-01-03 Thread Rares Pasca
Question #676954 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676954 Rares Pasca posted a new comment: @TestMechanic In order to add those elements after starting the program, you have to create a new project then from Schema->multifiliare schema(multi-wire diagram) t

Re: [Sikuli-driver] [Question #676954]: clear cursor

2019-01-03 Thread Rares Pasca
Question #676954 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676954 Rares Pasca posted a new comment: @TestMechanic In order to add those elements after starting the program, you have to create a new project then from Schema->multifiliare schema(multi-wire diagram) t

Re: [Sikuli-driver] [Question #676954]: clear cursor

2019-01-02 Thread Rares Pasca
Question #676954 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676954 Rares Pasca posted a new comment: Thanks guys for your responses. I'm just back from vacation so back to work. @TestMechanic Here you can find the trial version I guess, if you wanna try:

Re: [Sikuli-driver] [Question #676954]: clear cursor

2018-12-24 Thread Rares Pasca
Question #676954 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676954 Rares Pasca posted a new comment: I cannot reproduce this manually. However if i add an element then CTRL+Z (undo) and add it again, my tested app is adding 2 elements, then if i do undo again, it adds it 3

Re: [Sikuli-driver] [Question #676954]: clear cursor

2018-12-21 Thread Rares Pasca
Question #676954 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676954 Rares Pasca posted a new comment: hmm...already tried those but problems still persists Might be something from the app then not from sikuli -- You received this question notification because your team

[Sikuli-driver] [Question #676954]: clear cursor

2018-12-20 Thread Rares Pasca
New question #676954 on Sikuli: https://answers.launchpad.net/sikuli/+question/676954 Hello, I am trying to automate a desktop app. It's an app that draws electrical diagrams. So i can select an element from an acessories list and then drop it to the diagram.After i select my element and then c

Re: [Sikuli-driver] [Question #676778]: Looping through list of elements and finind expected text with OCR

2018-12-17 Thread Rares Pasca
Question #676778 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676778 Rares Pasca posted a new comment: This is my solution for this, i hope it will work on you aswell. Here are the elements passed to the method: myRegion = your region where you want to scroll

Re: [Sikuli-driver] [Question #676777]: Running few tests from a suite cmd

2018-12-13 Thread Rares Pasca
Question #676777 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676777 Rares Pasca posted a new comment: Alright then. Thanks. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #676778]: Looping through list of elements and finind expected text with OCR

2018-12-13 Thread Rares Pasca
Question #676778 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676778 Rares Pasca posted a new comment: Thank you! -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #676778]: Looping through list of elements and finind expected text with OCR

2018-12-13 Thread Rares Pasca
Question #676778 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676778 Rares Pasca posted a new comment: Ok thanks. So the approach would be something like this: define a region in screen define the element that i want to find, a string basically inside a for loop iterate

Re: [Sikuli-driver] [Question #676777]: Running few tests from a suite cmd

2018-12-13 Thread Rares Pasca
Question #676777 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676777 Rares Pasca posted a new comment: But let's say I have them grouped with the help of unittest llike test def test1() def test2() . . . def test100() Now I use HTMLTestRunner+unittest to run the

[Sikuli-driver] [Question #676778]: Looping through list of elements and finind expected text with OCR

2018-12-13 Thread Rares Pasca
New question #676778 on Sikuli: https://answers.launchpad.net/sikuli/+question/676778 Hello, I have a list of elements and i need to select a certain element. For that I have to scroll the list. It is possible to create a method that scrolls through this list and when it finds my expected eleme

[Sikuli-driver] [Question #676777]: Running few tests from a suite cmd

2018-12-13 Thread Rares Pasca
New question #676777 on Sikuli: https://answers.launchpad.net/sikuli/+question/676777 Hello, I know this is somehow not related to sikuli but maybe someone already achieved this. Let's say I have like 200 tests written with sikuli and py. Now I want to runt only test 35,and 80 from command line

Re: [Sikuli-driver] [Question #676371]: Sikuli logs to HTML test runner report --- not possible

2018-12-06 Thread Rares Pasca
Question #676371 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676371 Rares Pasca posted a new comment: no problem. waiting for your feedback, or other users feedback -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #676371]: Sikuli logs to HTML test runner report --- not possible

2018-12-06 Thread Rares Pasca
Question #676371 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676371 Rares Pasca posted a new comment: I accidentally posted that message , sorry:D -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #676371]: Sikuli logs to HTML test runner report --- not possible

2018-12-06 Thread Rares Pasca
Question #676371 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676371 Rares Pasca posted a new comment: I actually found a solution on how to write my custom logs into html test runner report.For this you need: sikulixIDE,HTMLTestreport and unittest. So I have a file

Re: [Sikuli-driver] [Question #676371]: Sikuli logs to HTML test runner report --- not possible

2018-12-06 Thread Rares Pasca
Question #676371 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676371 Status: Answered => Solved Rares Pasca confirmed that the question is solved: I actually found a solution on how to write my custom logs into html test runner report. My setup is: -- You received t

[Sikuli-driver] [Question #676563]: Generic image validation method

2018-12-03 Thread Rares Pasca
New question #676563 on Sikuli: https://answers.launchpad.net/sikuli/+question/676563 Hello, I've managed to configure a project where I'm using Intelij+java, gradle, testng and sikuli. I want to define a generic method that will check if the given image is found on the screen or not and assert

[Sikuli-driver] [Question #676454]: Sikuli IDE or Sikuli with other IDEs?

2018-11-29 Thread Rares Pasca
New question #676454 on Sikuli: https://answers.launchpad.net/sikuli/+question/676454 Hello, I want to automate a desktop app with sikuli. However I'm trying to figure out the best setup/approach for this in my. I've played around a bit with sikuli built in IDE and I find it easy and simpe to u

Re: [Sikuli-driver] [Question #674824]: Jenkins: outside any screen error --- no real screen --- needs a fake screen

2018-11-28 Thread Rares Pasca
Question #674824 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/674824 Rares Pasca posted a new comment: Ok, I will try with a VM then if this is an easier approach since sikuli always needs a screen. Thank you! -- You received this question notification because your team

Re: [Sikuli-driver] [Question #674824]: Jenkins: outside any screen error --- no real screen --- needs a fake screen

2018-11-28 Thread Rares Pasca
Question #674824 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/674824 Rares Pasca posted a new comment: Thank you! So I assume that I need a VM for this. Currently i'm trying to run the sikuli script via jenkins and i've created a slave that is my localhost machine b

Re: [Sikuli-driver] [Question #674824]: Jenkins: outside any screen error --- no real screen --- needs a fake screen

2018-11-28 Thread Rares Pasca
Question #674824 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/674824 Rares Pasca posted a new comment: @önder (marquis06) Can you post the solution in details here? Thank you! -- You received this question notification because your team Sikuli Drivers is an answer contact

Re: [Sikuli-driver] [Question #676411]: Jenkins + Sikuli

2018-11-28 Thread Rares Pasca
Question #676411 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676411 Rares Pasca posted a new comment: I have managed to configure jenkins to run my sikuli script but I've came across the problem with the screen. I am using 1.1.3, so you are saying that 1.1.4 should

[Sikuli-driver] [Question #676411]: Jenkins + Sikuli

2018-11-28 Thread Rares Pasca
New question #676411 on Sikuli: https://answers.launchpad.net/sikuli/+question/676411 Hello, I kinda new in the automation testing. Is there a guide on how to configure jenkins with sikuli to run tests on my local machine? Thanks. -- You received this question notification because your team

Re: [Sikuli-driver] [Question #207167]: Empty report - HTMLTestRunner through command line

2018-11-27 Thread Rares Pasca
Question #207167 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/207167 Rares Pasca posted a new comment: I have the same problem and if I remove my tearDown()/exitApp() method it works. Any solutions for this? -- You received this question notification because your team

Re: [Sikuli-driver] [Question #676371]: Sikuli logs to HTML test runner report --- not possible

2018-11-26 Thread Rares Pasca
Question #676371 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676371 Rares Pasca posted a new comment: Thanks you very much! I will try this and then return here to give feeback on this. -- You received this question notification because your team Sikuli Drivers is an

Re: [Sikuli-driver] [Question #676371]: Sikuli logs to HTML test runner report --- not possible

2018-11-26 Thread Rares Pasca
Question #676371 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676371 Rares Pasca posted a new comment: Thank you! I assume that this would not be possible with pytest-html either, right? -- You received this question notification because your team Sikuli Drivers is an

[Sikuli-driver] [Question #676371]: Sikuli logs to HTML test runner report

2018-11-26 Thread Rares Pasca
New question #676371 on Sikuli: https://answers.launchpad.net/sikuli/+question/676371 Hello, I am using sikuli IDE to automate a desktop app. I'm also using html-testRunner 1.1.2 to generate reports and the sikuli logger to write to a file. Here is my code for this: Settings.UserLogs=True