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
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
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
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
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
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
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.
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
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
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.
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
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
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():
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
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,
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
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
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
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
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
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
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
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,
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.
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,
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
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
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
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
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.
30 matches
Mail list logo