Can we use Virtual Objects in Discriptive Programming?

Answer Posted / uday

Yes, we can define virtual objects using Descriptive
Programming.

You should use x, y, width and height properties to define
virtual objects.

The script will look like below:
window("Paint").WinObject("NetUIHWND").virtualobject("x:=256","y:=66","width:=22","height:=20").Click
13,11

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a programmatic description?

607


Define Error Pane of UFT?

695


How to get the particular property value?

614


What are metrics and matrix?

1371


How would you export a script from one pc to another in qtp?

663






WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT

1711


How you can decide which type of object repository you have to use?

709


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))

1507


Hi. I have completed B.TECH(CS) , But I will go to "SECURITY CONSOLE OPERATING" [C.C CAMERA abservation]. IF interviwer asks " Why you choose this job ?" What we will say? urgent.........................urgent...........

1445


How to use setroproperty?

579


How many types of trigger events are there in qtp?

552


UFT 12.02 which ALM version will support

985


What is text check point and text area check point?

611


I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...

1723


What are the types of object repository in qtp?

569