Use this forum to discuss desired new features for expecco.

Test Report - Using Variables in Activity Name

Postby AlphaTester » 16. Dec 2008, 12:02

Hi all,

UseCase:
e.g. using of the Block "Wait for seconds".
This block used one input pin (time duration).
In the report the name is always the same, the time could be diffrent.

It would be helpful to use a Blockname such "Wait for seconds: [%duration]".
In Report will be written: "Wait for seconds: 8s" (depends on the value of the duration pin)

This feature shall be work with all input pins!

Thanks!
--
(while(!asleep())sheep++;)
AlphaTester
 
Posts: 19
Joined: 5. Dec 2008, 08:44
Location: Kerpen

Re: Test Report - Using Variables in Activity Name

Postby cgittinger » 20. Dec 2008, 03:04

Very good idea; I have added the following name expansions:
%(STATE): result state (SUCCESS, FAIL, PASSED or INCONC)
%(input-pin-name)
and
%(output-pin-name)

the expansions are only seen in the log (not in the network).
it will be in the next release V1.6; here is how it looks:

[img]sample1.jpg[/img]

regards, Claus

PS: I simply expand the printString of the value (and have not included any fancy check...)
so you better not expand the contents of a file...
Attachments
sample1.jpg
sample1.jpg (52.07 KiB) Viewed 6083 times
cgittinger
 
Posts: 61
Joined: 12. Nov 2008, 17:05

Re: Test Report - Using Variables in Activity Name

Postby AlphaTester » 8. Jan 2009, 14:24

Perfect!

Thanks!!!
AlphaTester
 
Posts: 19
Joined: 5. Dec 2008, 08:44
Location: Kerpen


Return to Feature Requests

Users browsing this forum: No registered users and 1 guest

Design by GB