Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2020-04-02 Thread Christoph Babacek
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 Christoph Babacek posted a new comment: Hi I'm completely new to sikuli and I'm trying to use the HTMLTestRunner. My problem is that I can't import neither the unittest.py nor the HTMLTestRunner.py. When I

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2019-01-03 Thread RaiMan
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 RaiMan posted a new comment: @Sreelekshmi (sree2604) please post your own question with things not related to this topic. ... and give more info on how you got there -- You received this question

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2019-01-03 Thread Sreelekshmi
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 Sreelekshmi posted a new comment: Can you please tell me about this error in Sikuli EEE Time Elapsed: 0:00:00.007000 -- You received this question notification because your team Sikuli Drivers is

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2019-01-03 Thread RaiMan
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 RaiMan posted a new comment: --- share the modified HTMLTestRunner.py ... it is bundled with the sikulix... jar files and hence available out of the box -- You received this question notification because

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2019-01-02 Thread Sreelekshmi
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 Sreelekshmi posted a new comment: Can you please share the modified HTMLTestRunner.py to include screenshot. -- You received this question notification because your team Sikuli Drivers is an answer contact

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2018-09-05 Thread Winnie Hsu
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 Winnie Hsu posted a new comment: Can't access this modified version link either. How can i get this file? thanks. https://dl.dropboxusercontent.com/u/42895525/HTMLTestRunner.zip -- You received this

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2017-02-21 Thread kavitha
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 kavitha posted a new comment: Yes. Now its working. Thanks RaiMan. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2017-02-21 Thread RaiMan
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 RaiMan posted a new comment: again: go back and read carefully how to set up and run a unittest class (Python knowledge!) you do not have any testcase defined (as alredy mentioned in comment #19

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2017-02-21 Thread RaiMan
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 RaiMan posted a new comment: again: go back and read carefully how to set up and run a unittest class (Python knowledge!) you do not have any testcase defined (as alredy mentioned in comment #19

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2017-02-21 Thread kavitha
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 kavitha posted a new comment: Time Elapsed: 0:00:00 is coming -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2017-02-21 Thread RaiMan
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 RaiMan posted a new comment: @Kavitha go back and read carefully all information about unittesting: you have not defined any testcase! -- You received this question notification because your team Sikuli

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2015-12-01 Thread Hardik
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 Hardik posted a new comment: @RainMan Where to add this code for screenshot of failure..??? I mean after or before of script ?? def addError(self, test, err): self.error_count += 1

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2014-08-23 Thread sathya
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 sathya posted a new comment: I'm new to sikuli and this is my first question here. I just want to add a screenshot in my html report..Below is my requirement. Thanks in advance :) def test():

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2013-06-27 Thread RaiMan
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 RaiMan posted a new comment: @ RiSol no, currently not. But it is easy to add: in HTMLTestRunner.py thes are the 2 methods: def addError(self, test, err): self.error_count += 1

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2013-06-27 Thread RiSol
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 RiSol posted a new comment: @RainMan just replace the line self.result.append in addError with the line ... # modified by RaiMan from addFailure I replaced with the line self.result.append((2, test,

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2013-06-26 Thread RiSol
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 RiSol posted a new comment: @RainMan Here you have the HTMLTestRunner with the added feature of saving screenshots when failing. Does the solution work for errors as well? I run htmltest sikuli script

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2013-05-03 Thread Chris
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 Chris posted a new comment: Download and put the module in same folder as your .py file where is this location, i tried multiple locations with no success... -- You received this question notification

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2013-05-03 Thread RaiMan
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 RaiMan posted a new comment: @Chris Here you have the HTMLTestRunner with the added feature of saving screenshots when failing. https://dl.dropboxusercontent.com/u/42895525/HTMLTestRunner.zip Put the

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2013-05-03 Thread Chris
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 Chris posted a new comment: Great thanks :D that worked but now the script just says EEE time elapsed 0:00:00... I really love sikuli it will be awesome for non- coder-testers, sry for all the bother but is

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2013-05-03 Thread Chris
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 Chris posted a new comment: In the report, when i click the error it says: AttributeError: 'BDTest' object has no attribute 'app' -- You received this question notification because you are a member of

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2013-05-03 Thread Chris
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 Chris posted a new comment: Nvm i figured it out my app definition and my setup and teArdown go inside the class :P obviously, thanks for the help RaiMan! :D Now i just need to figure out why word is not

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2013-05-03 Thread Chris
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 Chris posted a new comment: Lol just figured it out, running sikuli as admin makes word opened from sikuli run as admin as well and my plugins were installed per user. Weird but ok! :D -- You received this

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2013-04-04 Thread sreetama
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 sreetama posted a new comment: I am getting following error [error] Error message: SyntaxError: (mismatched input '\\n' expecting LPAREN,

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2013-04-04 Thread sreetama
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 sreetama posted a new comment: what is def test_1, def test_2?? -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2013-04-04 Thread dinev
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 dinev posted a new comment: Those are definitions of your tests in form of methods. The actual test code goes there -- You received this question notification because you are a member of Sikuli Drivers,

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2011-12-10 Thread RaiMan
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 RaiMan posted a new comment: @ Jose When using the unittest framework, it does not make sense, to catch the assert exceptions, because they are used by the framework, to create the final report. what you

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2011-12-08 Thread Jose Pablo Jimenez Velez
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 Jose Pablo Jimenez Velez posted a new comment: Hey I love the HTML report thanks for sharing! I do have a question and I hope some one can help help me. So if an assert fails it will raise an exception and

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2011-10-27 Thread dinev
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 Description changed to: Just want to share with you nice runner that output an html result file. http://tungwaiyip.info/software/HTMLTestRunner.html Download and put the module in same folder as your .py

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2011-10-24 Thread RaiMan
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 Status: Open = Solved RaiMan changed the question status: Thanks for contribution. Set to solved, to not get it expired -- You received this question notification because you are a member of Sikuli

Re: [Sikuli-driver] [Question #176005]: [HowTo] Nice unit test runner with html output

2011-10-24 Thread RaiMan
Question #176005 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176005 Summary changed to: [HowTo] Nice unit test runner with html output -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli.