Script Call / Function Call for Reusability : Automation API

Script Call / Function Call for Reusability

Class library usage, coding and language questions.

Script Call / Function Call for Reusability

Postby dal » Thu Jul 01, 2010 8: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
dal
 
Posts: 72
Joined: Thu Jun 24, 2010 9:59 am

Re: Script Call / Function Call for Reusability

Postby Support Team » Thu Jul 01, 2010 10: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
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Script Call / Function Call for Reusability

Postby dal » Thu Jul 01, 2010 12:06 pm

Thanks Peter..

It helps a lot...!!!

- Dal
dal
 
Posts: 72
Joined: Thu Jun 24, 2010 9:59 am


Return to Automation API

Who is online

Users browsing this forum: No registered users and 0 guests

cron