Hi,
To read the name of a Test Case is not hard. This sub do the trick.
Public Sub ReadAndLogTCDesc()
Dim StTcDesc As String
StTcDesc = TestSuite.CurrentTestContainer.Name.ToString()
MsgBox(StTcDesc)
End Sub
But how do I read the 'Description' property of the same test case?
BR // Peter
Read the TestCases description
Re: Read the TestCases description
Hi,
A C# code to read TC description looks like this:
A C# code to read TC description looks like this:
Code: Select all
var TC = TestSuite.CurrentTestContainer as TestSuiteEntryContainer;
string descString = TC.Comment;
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
-
- Posts: 7
- Joined: Tue Mar 27, 2018 10:29 am