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.

Answers were Sorted based on User's Feedback



I am using descriptive programming for my project.when QTP deosn't identity or recognize a ob..

Answer / 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

I am using descriptive programming for my project.when QTP deosn't identity or recognize a ob..

Answer / tvsramakrishnachowdary

if properties are not sufficiant to identify an object
uniquely we better to go Ordinal Identifiers

1)Location=0,1,2.....
2)Index=0,1,2,......
3)Creation Time(this is only for browser object)=0,1,2,....


byusing ordinal Ordinal Identifier properties qtp almost
recognize the object roughly.....

Is This Answer Correct ?    1 Yes 0 No

I am using descriptive programming for my project.when QTP deosn't identity or recognize a ob..

Answer / prasant

Identify objects following below order -
1. Mandatory Properties
2. Assertive Properties
3. Ordinal Identifier
4. Smart Identification.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

hello, i just started searching for a job on QA ,need QTP software full version.plz can any body help me...my email id is padma_ub@yahoo.com.thanks in advance.

0 Answers  


Are Shared ORs read-only?

0 Answers  


Hi can anyone pls suggest how to fetch username(system login name)and system name in to qtp.I am not using TD or QC.Thx

5 Answers  


what is Function Definition Generator? can any one explain me in details?

6 Answers   Accenture,


when a test case is written how u test using qtp

0 Answers   Satyam,


difference between do while and do until ?

3 Answers   HCL,


what is the difference between window command and dialog command

1 Answers  


Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance

0 Answers  


Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,

0 Answers  


what are the disadvantages in QTP 9.2?

1 Answers  


Describe the process for writing text check point for a web application?

2 Answers   ssinformatics,


How to retrieve the property of an object in QTP?

5 Answers  


Categories