
Archana Sathyanarayan
Top achievements
Rank 1
Archana Sathyanarayan
asked on 07 Sep 2010, 05:40 AM
Hi,
This is Archana.
How do I customize my test results.
I have converted the steps to VB code.
I tried using print but it seems not working.
Thanks & Regards
Archana
This is Archana.
How do I customize my test results.
I have converted the steps to VB code.
I tried using print but it seems not working.
Thanks & Regards
Archana
3 Answers, 1 is accepted
0
Hi Archana Sathyanarayan,
I am sorry but the "how" depends on what sort of customization you want to achieve. Can you elaborate please on where/how you want it changed? Where does the current results not meet your needs?
Best wishes,
Cody
the Telerik team
I am sorry but the "how" depends on what sort of customization you want to achieve. Can you elaborate please on where/how you want it changed? Where does the current results not meet your needs?
Best wishes,
Cody
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0

Archana Sathyanarayan
Top achievements
Rank 1
answered on 09 Sep 2010, 02:57 AM
Hi Cody,
Thanks for the reply.
I am verifying the text box value. If the value is not valid then I want to display customized result saying invalid input entered.
I want this to be printed on the results page.
Thanks & Regards
Archana
Thanks for the reply.
I am verifying the text box value. If the value is not valid then I want to display customized result saying invalid input entered.
I want this to be printed on the results page.
Thanks & Regards
Archana
0
Hello Archana Sathyanarayan,
You don't even need to convert the step to code. All "Verification" action steps have the LogMessageOnFailure property in which you can set your custom message.
Nikolai
the Telerik team
You can write custom verification like this:
Assert.IsTrue(false, "MyCustomMessage");
This way if the assertion fails your custom message will be part of the StackTrace of the error:
InnerException:
ArtOfTest.Common.Exceptions.AssertException: MyCustomMessage - [Expected:True],[Actual:False]
at ArtOfTest.Common.UnitTesting.Assert.IsTrue(Boolean condition, String message)
at WebUIStudio.Tests.Verf.Verf_CodedStep() in C:\TFS\TestNode\WebTestingProject\WebUIStudio.Tests\Verf.aii.cs:line 78
You don't even need to convert the step to code. All "Verification" action steps have the LogMessageOnFailure property in which you can set your custom message.
Nikolai
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items