what is the use of VIRTUAL OBJECTS? explain ?
Answer Posted / umasankar
You can define virtual objects only for objects on which
QuickTest Professional records Click or DblClick methods.
Otherwise, the virtual object is ignored.
For example, if you define a virtual object over the
WinList object, the Select operation is recorded, and the
virtual object is ignored.
Using the Virtual Object Wizard, you can map a virtual
object to a standard object class, specify the boundaries
and the parent of the virtual object, and assign it a name.
You can also group your virtual objects logically by
assigning them to collections.
The virtual object should not overlap other virtual objects
in your application or Web page. If the virtual object
overlaps another virtual object, QuickTest may not record
or run tests correctly on the virtual objects.
| Is This Answer Correct ? | 30 Yes | 17 No |
Post New Answer View All Answers
I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian
Explain the features and benefits of quick test pro(qtp)?
How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")
i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.
Why is action split used by qtp?
How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?
How do you create new test sets in td?
wht type of User defined functions or Java Releated functions Do we write in VB scripting
How do know the number of browsers opened?
i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet
how to evalute defects in QTP script?
Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B
how to do the batch testing in test director using manual testing procedure?
what is object and child object.. explain ..if possible give some example for better understanding ..
Where we use data driver in qtp?