NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Full recording or failures alone to report

Solved!
Go to solution

Hi,

 

I want to have the report such a way that, if a particular flag is set report should contain both pass and failure step statuses. Where as if the falg is not set then only the status of failure steps to be logged to test report.

 

Pl help me in solving the above issue.

 

regards,

Ramjee V

 

0 Kudos
Message 1 of 5
(3,633 Views)

Hi,

 

you could use the filter option, checkout the following:

http://zone.ni.com/devzone/cda/tut/p/id/8289

In figure 1 there is a control called Result Filtering Expression, you can set this for failed results (providing your are not using XML)

 

or else you can try the Result Expression for modify the report path and send the Failed result to a separate failed

see

http://forums.ni.com/ni/board/message?board.id=330&thread.id=29160

 

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 5
(3,629 Views)

Hi Ray Farmer,

 

I tried setting the ResultFilterExpression as follows:

 

Parameters.ReportOptions.ResultFilterExpression = "Result.Status != Passed && Result.Status != Done && Result.Status != Skipped". I was getting error.

 

Pl correct me.

 

regards,

Ramjee V

0 Kudos
Message 3 of 5
(3,626 Views)
Solution
Accepted by ramjeev

try

 

Parameters.ReportOptions.ResultFilterExpression = "Result.Status != \"Passed\" && Result.Status != \"Done\" && Result.Status != \"Skipped\""

 

check out

http://forums.ni.com/ni/board/message?board.id=330&message.id=12930&query.id=4179360#M12930

 

regards

ray farmer

Regards
Ray Farmer
0 Kudos
Message 4 of 5
(3,622 Views)

Thanks Ray Farmer.

 

Regards,

Ramjee

0 Kudos
Message 5 of 5
(3,604 Views)