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

I am using descriptive programming for my project.when QTP
deosn't identity or recognize a object by record and
playback method,is it possible to make QTP identify that
object using descriptive programming?
Note: The object doesn't have unique properties and same
properties used in Record and playback are only available,
no extra properties are defined.

Answer Posted / guest

As per my knowledge, QTP can recognize all type of objects
through descriptive programming. For that u need to create
object with the help one properties only i.e nothing
but "micClass". then set index property for remaining
object.

Example for Link object
=======================
set linkDesc = Description.Create()
linkDesc ("micClass").Value = "Link"
EditDesc("Index").Value = "0"
Browser("Browser Name").Page("Page Name").Link
(linkDesc ).Click

==========================

If u will change the index value, then it will click
accordingly.


I hope, it will resolve your problem.

Thanks,

-Akshaya-


Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you open adobe acrobat file in QTP and do some testing on that file ?

1052


What is action?

987


Can we create user defined functions in qtp?

996


Give me some real time point of way where exactly we can conduct audits?

1901


In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.

2105


what is run action?

1915


wht type of User defined functions or Java Releated functions Do we write in VB scripting

1796


is there any addin for remedy user application

2265


how can i call function (which has link with excell sheet at a remote location) within another function

2016


Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link

1320


What is throw Object?

2131


Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?

2072


Why script error occur in between recording in qtp?

2268


Can we record using all the modes in a single script? Explanation with example is appreciated

1849


Write a script to verify font style and color of a windows object using descriptive programming

1394