Solution name in report

Ask general questions here.
Certified Professional
Certified Professional
Posts: 24
Joined: Wed Sep 17, 2014 10:43 am

Solution name in report

Post by bennylew » Tue Jan 20, 2015 3:12 pm


I want to display the solution name on my reports. Is this possible? In the .data file there is no solution name included (except for the codefile). Do you have any ideas?

best regards

Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Solution name in report

Post by krstcs » Tue Jan 20, 2015 3:17 pm

You could create a global parameter named "SOLUTION" and give it the value you want.

Or you could use a good naming convention for your tests that includes the solution name in each project name.

In my tests I set it up this way:
Solution: TCS_WEB
Project1: TCS_WEB_CORE (1st project is my library of core files, all others are actual tests)
Project2: TCS_WEB_LoginTest
Project3: TCS_WEB_ProductNavigation

This way, you don't have to worry about it being in there, you always know that the first part of the project name is the solution name.
Shortcuts usually aren't...