Proper Use for Code Collection Library

Class library usage, coding and language questions.
sheafox
Posts: 23
Joined: Mon Jul 09, 2018 3:54 am

Proper Use for Code Collection Library

Post by sheafox » Mon Aug 13, 2018 10:35 pm

When should the Ranorex Code collection be used? For example , I created a code module for adding new employees. Is this something that should be added to a code collection library?

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

Re: Proper Use for Code Collection Library

Post by Support Team » Tue Aug 14, 2018 7:45 am

Hello sheafox,

The user code library is the central place where user code methods can be stored within a test automation solution. This makes it easier to re-use user code methods in different recording/code modules within a solution.

Please read the following sections in order to get a detailed description how to create and use the user code library: In your specific case it might be a good idea to store your method in the user code library if you want to use it in different modules in your Ranorex Test Suite.

I hope this answers your question.

Sincerely,
Bernhard
.
Image