05-26-2010 05:56 AM
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
Solved! Go to Solution.
05-26-2010 06:08 AM
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
05-26-2010 07:02 AM
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
05-26-2010 07:14 AM
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
05-26-2010 10:49 PM
Thanks Ray Farmer.
Regards,
Ramjee