Can anyone breif me ,How to associate Function Libraries, OR's during Run Time?
How to associate Function Libraries, OR's during Run Time?
|
Hi ,
You can associate Func. Libraries using 'AOM' & OR's by using 'RepositoriesCollection' during RunTime. Search in the forums , you can get it.
At run-time, libraries cannot be associated with a test. You will have to use one of the Execute (ExecuteFile, ExecuteGlobal) functions to load them dynamically.
Hi Anshoo,
Could you please provide us the code to load functions dynamically. Thanks, Azeem
Hi,
Use following code example for excuting function from library. Code: 'Use executefile function to load library files.
Hi Tarik,
Thanks for your code, how to load OR's(more than one) dynamically at run time to a test. Thanks Azeem
Hi,
To associate Object repository dynamically use the following code. Try this for attaching Object repository at run time. Code: Dim qtpApp
There is another easy of doing the same using 'RepositoriesCollection.Add'
I feel we should avoid using QuickTest application object during runtime
@Tarik @Saket - Thanks for the Code both are working fine, But I want upload repositories dynamically using the "ObjectRepositoryUtil" object
Could you please let me know how to use the above object to load. Thanks, Azeem |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
QTP not recogonising object during run time | Lavanya N | 2 | 3,814 |
10-28-2015, 12:46 PM Last Post: vinod123 |
|
Writing to Run time data table | Neetha | 5 | 12,349 |
08-27-2015, 10:18 AM Last Post: supputuri |
|
Calling a function in a Test Script from a function library | anupam4j | 3 | 6,304 |
06-26-2015, 12:31 AM Last Post: babu123 |
|
QTP Takes Long time to Run | prasaad44 | 4 | 5,037 |
04-10-2014, 01:53 AM Last Post: prasaad44 |
|
Getting run error passing a Frame into a user defined function!!! | sepgs2004 | 1 | 2,944 |
10-14-2013, 06:37 PM Last Post: anil2u |
Users browsing this thread: 3 Guest(s)