Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on How to write scripts for getting this virtual object using QTP within the QTP forums, part of the Software Testing category; Question asked by visitor P.Dhanam In QTP, I had created a new virtual objects using tools->virtual object-> new virtual objects. This objects is added into virtual object manager. How to ...
|
|||||||
|
|||
|
How to write scripts for getting this virtual object using QTP
Question asked by visitor P.Dhanam
In QTP, I had created a new virtual objects using tools->virtual object-> new virtual objects. This objects is added into virtual object manager. How to write scripts for getting this virtual object using QTP. When I write script, it's saying" object doesn't found in object respository". because the virtual objects in virtual object manager. How can I map virtual object from virtual object manager to object respository? Please help me regarding this. need your answer quickly |
| Sponsored Links |
|
|||
|
Re: How to write scripts for getting this virtual object using QTP
Quote:
I too facing this same problem, Can any body has answers to this Q. Any suggestions? Thanks. Nrusingha |
|
|||
|
Re: How to write scripts for getting this virtual object using QTP
Hi,
When you created the Virtual Object using the Virtual Object Manager, you must have selected the Class to which you wish to Map as well as specified a name for the Virtual Object. In the script where you wish to use the Virtual Object include this sytanx - Window("").VirtualButton("VirtualObject").Click VirtualButton - ObjectClass you mapped to. Specify the Object Class you mapped your virtual Object to. Incase you are using VirtualCollections, you can also specify the CollectionName and use the Index to retrieve the required virtual Object. Cheers.....
__________________
V.Umesh Krishnan QA Consultant |
|
|||
|
I guess problem is in the navigation, i,e First we need to map the object using virtual obejct manager then record the actions on that object, so that this object gets stored in the object repository(after mapping).
Regards Siraj Shaik |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Write an SQL query | JobHelper | SQL | 2 | 09-22-2008 08:35 AM |
| A derivation inherits both a virtual and non-virtual instance | Geek_Guest | OOPS | 1 | 07-18-2007 04:51 AM |
| AltDesk is Virtual Desktop Manager for Windows. | JobHelper | Geeks Lounge | 0 | 02-21-2007 07:00 AM |
| The Read/Write Web | Lokesh M | HTML & CSS | 0 | 06-20-2006 11:58 PM |
| Diff in using Virtual Obj wiz and GUI Spy | bvani | Test Cases | 1 | 05-29-2006 10:08 AM |