explain virtual object? in detailed? pls any one explain me?

Answer Posted / prashanth

If QTP Could not identify the objects, then those objects are called "Non Standard Objects" or "Virtual Objects"
These virtual objects behave like a standard object but not identified by QTP.
We can map a virtual object to a standard object by using "Virtual Object Wizard" (Tools-->Virtual Object-->New Virtual Objects...)

Restrictions on virtual objects
1. A virtual object should not overlap with another virtual object.
2. QTP does not support virtual objects for analog and low level recordings.
3. The application window should be of same size and in same position when we record and run the tests as it was when we define a virtual object.
4. We cannot insert any type of checkpoints on virtual objects.
5. We can define virtual objects only for the objects on which we can "Click" or "Double Click" and which record "Click" and "Dblclick", otherwise virtual object is ignored.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i have a doubt can anyone tell me where are scripts stored while using QTP.Tell me the exact procedure takes place in real time?like how we call scripts how to proceed after writing scripts?how scripts are executed etc?i heard some use Qc whether others dont use.so tell me whole procedure for both the things it will be a very big help.as i have interview i want to have whole idea on this.its very urgent.

1368


How many types of recording modes in qtp? Which will be used when?

542


tell me QTP standards ?plz

1508


in a web page How to check and display a particular word from a paragraph?

2028


i need qtp tutorial. pls send it to sridhar.k151@g mail.com

1630






How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.

1797


what is object and child object.. explain ..if possible give some example for better understanding ..

1526


Object repositories types, which and when to use?

569


in a web page hoe to check the dynamic links that rechabging with out using regular expressions

1768


Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?

2132


What is QTP’s model for test creation?

665


What is system testing and what are the different types of tests you perform in system testing?

589


Have you faced any problems with object repository?

584


descriptive program for a yahoo mail that is in yahoo mail suppose check box mailid subject assume it is like this format all things are in webtable the question is suppose some mail ids are there in that mailids i want to select the check box wich is before a@gmail.com and after that i want to click on delete button

1799


what type of run time errors you get while you ar edoing rpg program?

1500