Script Call / Function Call for Reusability

Class library usage, coding and language questions.
dal
Posts: 72
Joined: Thu Jun 24, 2010 8:59 am

Script Call / Function Call for Reusability

Post by dal » Thu Jul 01, 2010 7:51 am

Hi,

1. Is there a way to Call a Function which resides in another .vb file which is available in another Project under a Same Solution.

2. Is there a way to Call a Function which resides in another .vb file which is available in another Project not under a Same Solution (i.e. Different Solution)

The main objective of the above question is to have all the Reusable Functions / Utility Functions into the Different Solution / Different Project to invoke them whenever needed from any .vb script.
Or...
If this is not possible,can you please suggest how this can be achieved.
We are able to do this using Rational Functional Tester & QTP (Function Libraries)

-- Dal

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Script Call / Function Call for Reusability

Post by Support Team » Thu Jul 01, 2010 9:24 am

Hi,

Please read following documentation to add references to your project
http://www.ranorex.com/support/user-gui ... rence.html

In addition, I recommend reading the Ranorex Tutorial, in particular chapter 5 and section "Organizing a Test Automation Project with Ranorex Studio":
http://www.ranorex.com/Documentation/Ra ... torial.pdf

And we have a blog covering that topic, too:
http://www.ranorex.com/blog/organizing- ... rex-studio

Regards,
Peter
Ranorex Support Team

dal
Posts: 72
Joined: Thu Jun 24, 2010 8:59 am

Re: Script Call / Function Call for Reusability

Post by dal » Thu Jul 01, 2010 11:06 am

Thanks Peter..

It helps a lot...!!!

- Dal