06-01-2010 05:45 AM
I am using an post-expression in an additional results step type step to add a comment in my report as below.
Step.Result.ReportText = Str("A", "Mode: % 50s", True). While executing if i see the resultlist variables the step output is 50 characters aligned. But when i see the report at the end of the execution the output is simply "Mode: A" with 50 characters alignment.
Pl let me know where i am doing mistake.
regards,
ramjee v
Solved! Go to Solution.
06-01-2010 06:12 AM
I dont have TestStand to hand, but dont you need a second boolean to say use formated string.
eg str("A", "Model %50s", false, true)
regard
ray farmer
06-01-2010 06:32 AM
Hi,
When i run as per the above comment, getting error say that "Error in argument 3, 'False', in call to the expression funcrtion 'Str'.
Pl let me know how shall i proceed.
Regards,
Ramjee
06-01-2010 06:52 AM
sorry, parameter 3, <decimalPointOption>, is probably not a boolean I suggest you check the help to see what is a valid entry.
regards
ray farmer
06-01-2010 09:18 AM
When I ran your statement using a TEXT report I got the following:
Mode: < 50 spaces> A
You are generating a text report, right? Is that what you were expecting?
PH
06-01-2010 09:52 AM
06-01-2010 10:18 PM
hi Asbo,
I am using html report.
What is nbsb stands for in html report generation?
regards,
ramjee
06-02-2010 09:02 AM