Page 1 of 1

How to get the name of the ranorex solution

Posted: Wed Jul 25, 2012 9:42 am
by palbaret
I have several test solutions, they share some libraries.

From one of this shared libraries, I want to know the name of the current solution.

Is it a way to obtain this information?

thanks and regards,

Patrick

Re: How to get the name of the ranorex solution

Posted: Wed Jul 25, 2012 3:12 pm
by Support Team
Hi,

I'm not sure if this is what you mean, but have a look at the following:
Both of the code-lines give you the name of your currently active testsuite.
TestReport.CurrentTestSuiteActivity.TestSuiteName;
Assembly.GetEntryAssembly().GetName().Name;
Hope that's fine,
Larissa
Ranorex Support Team