Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Mention what are the different types of recording modes in qtp? Which will be used when?

1010


How can you write the scripts that operate on different objects depending on run-time information?

2584


what is impact analysis on regression testing?

2475


How will you handle java tree in qtp?

1103


Hai anyone please "Explain about Framework in QTP?"

2161


what is the difference between data driver & data driven and driver script?

2751


Explain the concept of object repository?

979


write a script to verify the image path(src property) of the images which are in web pages.

2220


What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);

3990


If created one virtual object? Next time I changed the window position will it work?

1037


Explain how you can find the absolute value of the number in qtp?

1087


Difference between action & Reusable action?

1067


Explain about business process component? types and usage?

2046


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...

2202


after initiating one project for testing, when exacltly QTP tester role starts?

1925