How to get a list of test case guid
Posted: Tue Dec 04, 2018 12:00 am
Hi,
I'm unable to get a list of current test case guid.
I have tried using
But I got an error message saying:
How can I fix this error?
Thanks,
Emma
I'm unable to get a list of current test case guid.
I have tried using
Code: Select all
TestSuite TS = (TestSuite)TestSuite.Current;
IList<TestSuiteEntry> ss =TS.GetAllTestSuiteEntries();
foreach(TestSuiteEntry x in ss)
{
if(x.GetType()== typeof(TestCaseNode) && !x.DisplayName.Contains("Test Suite"))
Report.Info(x.Id);
}
Code: Select all
The type 'CaseInsensitiveString' is defined in an assembly that is not referenced. You must add a reference to assembly 'Ranorex.Libs.Util'
Thanks,
Emma