This is a migrated thread and some comments may be shown as answers.

How to change failure info in Testlist's Excel Result

1 Answer 72 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tuan
Top achievements
Rank 1
Tuan asked on 18 Mar 2014, 11:28 AM
I ran the testlist base on those code
---------------------------------------------
//Verify Edit screen is not Applied with Customisation
 obr.objControls.FrameMain.WaitForElement(Common.MaxTimeout, "id=btnEdit");
 obr.objControls.FrameMain.Find.ById<HtmlInputSubmit>("btnEdit").Click();
 CommonFunction.RefreshFrame(obr.frameMainInfo);
 obr.objControls.FrameMain.WaitForElement(Common.MaxTimeout, "id=mplblTableKeyLabel");
 bool checkEditScreen = obr.objControls.FrameMain.Find.ById<HtmlSpan>("mplblTableKeyLabel").InnerText == "Key";
 Assert.IsTrue(checkEditScreen, checkEditScreen ? "" : "The customisation of 'Key' was applied to Edit screen");
--------------------------------------------------
            And the failure info in log file is
Failure Information:
~~~~~~~~~~~~~~~
Exception thrown executing coded step: '[Step3] : Verify lookup table label 'key' can now be renamed via Terminology Manager and the customisation is applied throughout the system'.
InnerException:
ArtOfTest.Common.Exceptions.AssertException: The customisation of 'Key' was applied to Edit screen - [Expected:True],[Actual:False]
            When  I get the Excel Result  the Failure info is
"Exception thrown executing coded step: '[Step3] : Verify lookup table
label 'key' can now be renamed via Terminology Manager and the
customisation is applied throughout the system'. "

           And i want to get the exception info "The customisation of 'Key' was applied to Edit screen - [Expected:True],[Actual:False]" to the Excel report . Can you give me a way to do it. Thank you.

1 Answer, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 21 Mar 2014, 11:44 AM
Hi Tuan,

Unfortunately this is not possible. 

You cannot modify the exported results.

Thank you for your understanding.

Regards,
Boyan Boev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Tuan
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Share this question
or