how to use the HTMLTestRunner

Asked by Yalamandareddy

First i download HTML TestRunner.py file. I am written below unit test code by using sikuli,can u tell me how to use the HTML Test runner.

Ex: click("1391152457364.png")
 wait(3)
click("1391151057459.png")
wait(3)
doubleClick("1391151166159.png")
wait(2)
type(Key.BACKSPACE)
wait(2)
type('xxxxxxxxxx')
wait(2)
type(Key.ENTER)

This is a sample script for login functionality please tell me how to using HTML TestRunner.py file to get reports.
Please give the response as soon as possible.

Please explain step by step process to understand to generate HTML Reports.

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

HTMLTestRunner is a wrapper for Python's unittest module, that is able to produce HTML reports instead of simple text output.
At https://dl.dropboxusercontent.com/u/42895525/HTMLTestRunner.zip you might download a pimped up version , that saves screenshots on failed tests. it contains a usage sample.

Nevertheless, you first have to learn how Python's unit testing feature works.
Look for tutorials on the net or relevant questions and faqs (like faq 1804).

BTW:
remarks like these:
Please give the response as soon as possible.
Please explain step by step process to understand to generate HTML Reports.

are not liked in this forum and not really necessary, since you usually get a fast response at least from me.
We understand, that everything is urgent, when you do not know how to get further.
We always try to give the best support as possible and as soon as possible.

Can you help with this problem?

Provide an answer of your own, or ask Yalamandareddy for more information if necessary.

To post a message you must log in.