Sikuli 1.1.0 can Generate results or Logs ?

Asked by Hardik

Hello, I am a beginner for sikuli and Please consider ,I have very less knowledge of programming.

1) I want to know whether Sikuli can generate test results ?
2) How can we generate test result using HTMLTestRunner or TestNG ?
3) How to find log file of sikuli which is generated by sikuli (Below logs ) ?
4) Can we mail that generated report to anyone in sikuli by script or tests ?
5) Is reporting automation is possible in Sikuli ?

If anyone have even single answer then please help me out and share scripts or step wise procedures.

Thank you.

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

1) I want to know whether Sikuli can generate test results ?
Sikuli does not generate test results, since it is not a testing tool as such. see 2)

2) How can we generate test result using HTMLTestRunner or TestNG ?
Just use these tools, as needed. In your test cases you just use the Skuli features as needed.

3) How to find log file of sikuli which is generated by sikuli (Below logs ) ?
Sikuli might write some messages depending on the settings. These message go to standard out (Terminal, Command window, ...).
You might suppress these messages or redirect them to a file of your choice. see the docs.

4) Can we mail that generated report to anyone in sikuli by script or tests ?
Not a feature of Sikuli. But your testing framework or the scripting/programming language might support that.

5) Is reporting automation is possible in Sikuli ?
Not a feature of Sikuli (again: Sikuli as such is NOT a testing tool, it can be used in testing scenarios).

Revision history for this message
Hardik (hardikchotaliya26) said :
#2

Okay but can you help me for mailing report which i generated using HTMLTestRunner.

plz help me and if possible give me dummy code because I don't know that much of programming.

Even i read and go through your some answers where you gave link of Jython SMTP protocol but i didn't understood , exactly what to do?

so plz help me out.

Revision history for this message
RaiMan (raimund-hocke) said :
#3

I do not have expertise with that.

look for examples in the net with something like "Python send mail".

This Sikuli forum is surely not the right place for such general questions.

A very good place for such things:
http://stackoverflow.com

Revision history for this message
Hardik (hardikchotaliya26) said :
#4

Is only python can work on sikuli ? I mean python is using Jython right? So how can i use python !!!

Revision history for this message
RaiMan (raimund-hocke) said :
#5

SikuliX 1.1.0 integrates with Jython 2.7, which is compatible to Python language level 2.7 including the standard Python modules. On top it is possible to use any external Python module (written for max 2.7), that is completely written in Python (does not depend on any C-based stuff).

So, since IMHO sending mails is a standard feature of Python, it is worth to follow my suggestion.

Can you help with this problem?

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

To post a message you must log in.