Page 1 of 1

Module groups in Test library

Posted: Fri Aug 07, 2015 8:27 pm
by sharisinghani
Hi

I have some questions around 'Module groups'

1. I want to know how we can use Module groups in test libraries? What purpose it solves?
2. When I pull the library dlls in my test suite, groups created in the library are not there. Is this the expected behavior?
3. If yes, I am interested in knowing how we can use Module groups to improve the maintenance of our modules.
4. We go through UI changes quiet often and looking for better options to handle our libraries. So please suggest if there are other Ranorex options that can be helpful.

Re: Module groups in Test library

Posted: Mon Aug 17, 2015 12:33 pm
by Support Team
Hi sharisinghani,

Unfortunately it is not possible to use the Module Groups from a Library in another Project because a Project can have only one Module Group. A possible workaround to overcome this issue would be to perform the following steps
  • Open your “main” Solution and add an existing project
  • This project will now be shown in the Projects Explorer and in the Ranorex Module Browser
  • This allows you to use the Module Groups in your Main Project
Please also find more information about Module Groups in the following chapter of our User Guide

Regards,
Markus (S)

Re: Module groups in Test library

Posted: Wed Dec 09, 2015 8:33 pm
by tvu
Hi Markus,

We use group modules to create a series of common flows. We also import our project DLLs into the test suite base on this blog post: http://www.ranorex.com/blog/organizing- ... test-suite.

The beauty of this approach is that when one project DLL is updated, the test suite automatically picks up the changes. We were disappointed to see that the group modules weren't available in the DLLs. If were to take your suggestion and add an existing project to the main solution then will that existing project get update when we update the original project?

To better explain:
1. We have a project named TestProject. We have a test suite named TestSuite.
2. In TestSuite, we add TestProject as an existing project.
3. We close the TestSuite and open TestProject
4. We then update TestProject with new recordings and group module.
5. We close TestProject and open TestSuite.

At this point, does TestSuite see the new TestProject's recordings and group module? Do we have to re-import TestProject somehow?

Thanks.

Re: Module groups in Test library

Posted: Tue Feb 16, 2016 8:14 pm
by Support Team
Hello Tung,

Per our remote session, we have covered and resolved this query.

Regards,
Andy (S)

Re: Module groups in Test library

Posted: Tue Feb 16, 2016 8:17 pm
by tvu
Yup. I believe I wrote this before our remote session.