Is there some method or accessor I'm missing for it? T Hanks
var TC = (TestCase)TestCase.Current;
if (TC.Parent.GetType() == typeof (TestSuiteFolder) )
{
Report.Info (TC.Parent.DisplayName);
}Support Team wrote:Hi,
you can get the mentioned information by handling from current test case to it's parent node, which is in your scenario the TestSuiteFolder you are searching for.var TC = (TestCase)TestCase.Current; if (TC.Parent.GetType() == typeof (TestSuiteFolder) ) { Report.Info (TC.Parent.DisplayName); }
Regards,
Tobias
Ranorex Support Team
Users browsing this forum: No registered users and 0 guests