[request] Want some integrated HTML reporting with click and other methods

Asked by Dhananjay Nagawade

Hello There,
I need to add HTML reporting after execution of script.
Please guide me how can I call my html reporting automatically after calling simple Click or Double click function.?

in short I want my some code in predefined click and other methods.

Question information

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

--- I need to add HTML reporting after execution of script.
... sounds like you are using The Jython scripting level
If this is true: adding such features is rather easy, by simply adding some functions, that wrap the click and other methods.

def myClick(target, region = None):
     if not region: region = SCREEN
     region.click(target)
     # now do whatever you want

usage:
reg = myClick(some_image)
myClick(some_other_image, reg.left(100))

--- looking for a feature
If you tell me, what and how you want to report, I can put it on the request list.

BTW: You might as well add your features on the Java level and use them in the Jython scripts.

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

This now is a request for new feature.