Hello,
i try to do a Ranorex-Report in Excel. But first step is to collect all needed data of a test-result.
My ExcelLogger class gets following data.
level, category, message, escape and matainfos.
I have a test like in the file "testcase.png".
There you can see on the left side "TelegramDeviceChoiceAdd".
On the gight side you can see "A-**-111-01-TelegrammeGeräteAuswahl".
If i create my report the data of right side is nowhere.
I get only something like:
Info: Test: Test Case 'TelegramDeviceChoiceAdd' started.
Info: Test: Test Case Iteration #1' started.
Info: Test: Test Module 'TestTelegramDeviceChoiceAdd' started.
where Info is from level, Test is from category and rest is from message.
But in no line i get A-**-111-01...
Where is this information hidden. In Ranorex logfile the data exists (testrun.png).
Using Ranorex 3.2.3.
Thanks,
Holger Timm
Reading description field of test suite testcase
-
- Posts: 2
- Joined: Mon Mar 25, 2013 3:34 pm
Reading description field of test suite testcase
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Reading description field of test suite testcase
Hello,
You have to cast the type of TestCase.Current.
Please try the following line in order to get the description of the current testcase.
Bernhard
You have to cast the type of TestCase.Current.
Please try the following line in order to get the description of the current testcase.
var description = TestCase.Current as TestCase; Report.Info(description.Comment.ToString());Regards,
Bernhard