Page 1 of 1

Convert Test Suite solution to Test Suite Module Library?

Posted: Tue Jan 28, 2014 12:28 pm
by TestXYZ
Hello all,
I have created a normal solution as “Test Suite” and created recordings in the solution. Can I convert the solution as “Test Suite Module Library” completely? How about the repository? The option “Copy recordings” is not so easy. :?
Many thanks!

Re: Convert Test Suite solution to Test Suite Module Library?

Posted: Wed Jan 29, 2014 3:17 pm
by rprehm
Hi TestXYZ,

You just need to set the output type of your solution, which can be found in the properties, to “Class Library”. Then just build your project. The created *.dll-file will contain all recordings, repository items etc.
ProjectProperties.png
Regards,
Robert

Re: Convert Test Suite solution to Test Suite Module Library?

Posted: Wed Jan 29, 2014 4:57 pm
by TestXYZ
Hi Robert,
that is great, thank you very much!
Best wishes

Re: Convert Test Suite solution to Test Suite Module Library?

Posted: Fri Mar 06, 2015 7:50 pm
by smitaninad
Thanks this helps to realize a library from a suite quickly. More interesting would be how to use the test cases from this library into another project.

Re: Convert Test Suite solution to Test Suite Module Library?

Posted: Mon Mar 09, 2015 1:09 pm
by Support Team
Hello smitaninad,

After adding the DLL as a reference you can access all recordings via UserCode. In order to add the DLL right click your project and select “Add reference”.

A recording can then be used like shown below:

Code: Select all

MyLibrary.MyRecording.Start();
Regards,
Robert