Organizing test scripts using Test suite

Ranorex Spy, Recorder, and Studio.
Saha
Posts: 39
Joined: Tue Mar 01, 2011 6:20 pm

Organizing test scripts using Test suite

Post by Saha » Thu Mar 10, 2011 8:02 pm

We have our test solution created using Ranorex 2.3.8. We have upgraded to 3.0 recently and exploring the Test Suite Manager.
We are not using ranorex repositories and recording feature. All our scripts are writted in vb and so far we were calling the script files from program.vb.

Question- How can we use Test suite manager to organize our scripts?I have vb files under my renorex solution but I can't see those files under test suite. Is there any configuration/settings we have to do to view all the existing vb files?

Thanks,
Saha

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

Re: Organizing test scripts using Test suite

Post by Support Team » Thu Mar 10, 2011 11:12 pm

Hello Saha,

when you add a user code module to a project in Ranorex Studio 3.0 you will get a class of this kind:

Code: Select all

   <TestModule("1C193359-2853-4740-87C8-1F3D4300A6CB", ModuleType.UserCode, 1)> _
   Public Class UserCodeModule1 
        Implements ITestModule
        
        Public Sub New()
        End Sub

        Sub Run() Implements ITestModule.Run
        End Sub

    End Class
In the Run method you can call your code.
Such a user code module can be dragged into a test case in the test suite.

Regards,
Roland
Ranorex Support Team
.
Image