NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

skipped step should not show in result

I dont want to show the skipped step in the result. How can this happen.

i use teststand4 and expand.xsl style sheet

can anyone help in this regard.

0 Kudos
Message 1 of 9
(4,103 Views)

hi
What do you mean exactly?
Disable the skip step s in report?
you have to put "Result.Status != "Skipped" in the filtered expression report options

 

Cdt
Kamal
Datus Rhônes Alpes

0 Kudos
Message 2 of 9
(4,094 Views)
 yes you are right i don't want to show the step which has been skipped in the report. but the solution given by you works for HTML and text report. It doesn't work for XML format. So i was looking for an alternate way to solve it when XML report is used.
0 Kudos
Message 3 of 9
(4,086 Views)

Hi

Yes i have testsed and unfortunately it doesn't work for XML reports.
I Have tested to add the engine callback  SequenceFilePostResultListEntry. This callvack has a parameters which is a boolean DiscardResult.
With this parameter we can discard the result list of the Step.
Look at my example attached...

Kamel
Datus Rhônes Alpes

0 Kudos
Message 4 of 9
(4,061 Views)

Hi,

   Does that resolve your issue?

Thanks

0 Kudos
Message 5 of 9
(4,021 Views)
not yet, still working on, partly solved. I was able to trap  the array in which the results were stored and i am trying to delete the elements which contain the status as "Skipped". I was trying to dynamically create an array od the same type and store results into that array skipping the " skipped" elements and later move them back to the results array. But i did not suceed. i am still working on that.
0 Kudos
Message 6 of 9
(4,018 Views)

hi,

I don't understand what is wrong with my solution...

Kamal
 

0 Kudos
Message 7 of 9
(4,003 Views)
in your example i need to keep that callback in every sequence which i dont want to do it. I am looking for a place where once the logic implemented it should work every where.
0 Kudos
Message 8 of 9
(3,982 Views)

You can modify your process model to have that callback available for each sequence you execute with it.

In order to do this, you have to open the process model and include/modify the ProcessModelPostResultListEntry callback.

 

 

hope this helps,

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 9 of 9
(3,950 Views)