How to get the name of the ranorex solution

Class library usage, coding and language questions.
palbaret
Posts: 26
Joined: Wed Jun 27, 2012 4:21 pm

How to get the name of the ranorex solution

Post by palbaret » Wed Jul 25, 2012 9:42 am

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

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: How to get the name of the ranorex solution

Post by Support Team » Wed Jul 25, 2012 3:12 pm

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
.
Image