Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to transfer Repository from one script to another script?
#1
Not Solved
I have recorded one TC in two differnt script. Now I have pasted script 2 to script 1, script 1 is running fine but from the line where script 2 starts, it is not able to recognize parent property (Browser).
I feel this is a repository issue.

So guide me how to transfer the repository from script 2 to script 1.

Thanks you.
Regards,
Vinay Kumar.
Reply
#2
Not Solved
Just pasting your script will not work. QTP must be able to identify your application objects. In order to make QTP identify objects, you must associate the script with its Object repository.

Whats the version of QTP you are using?
If it is 9X then you can merge the Object Repositories.
Reply
#3
Not Solved
I totaly understand that the script will not work if only pasted the script, but i do not know how to import an Repository form on script to another script. I very well know to export as there is a button to export on "Object Reporitory" window.

The current version i am using is 8.2.
Reply
#4
Not Solved
I am not sure what you are looking for will work with 8.2.
Instead of pasting your script, you can use Actions.

You can call your second script if it is under a separate action. Think about it.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to send/pass UFT Run Error Dialog as output value to main driver script lravi4u 0 323 11-05-2023, 03:55 PM
Last Post: lravi4u
  How do you Change Run mode mid script? Caleytown 6 6,504 03-25-2021, 08:27 AM
Last Post: RB26578
  picking different points in UFT using VB Script azjk786 0 896 12-14-2020, 09:57 AM
Last Post: azjk786
  script for mouseover rumitkon 2 1,723 02-20-2019, 12:52 AM
Last Post: rumitkon
  Call Stack in QTP Script smitapawar610 0 1,487 12-03-2018, 10:42 AM
Last Post: smitapawar610

Forum Jump:


Users browsing this thread: 1 Guest(s)