Suppose I want to use Index value of "WinEdit" in my
script .But it is showing None in "Ordinal identifier"
value of Testobject Details in the Object Repository.How to
enable Ordinal Identifiers to capture the Index value of
that particular WinEdit.
I have selected "index" and clicked "OK" from Tools->
Object Identification
Again I added same WinEdit to the Object repository
But I did not get Index value..Please any one help me.How
to enable Ordinal indentifiers



Suppose I want to use Index value of "WinEdit" in my script .But it is showing None in &..

Answer / lucky singh

HI, This might help you out :

The QTP tool recognizes the object as per the following
process :
First it will try to uniqely identify the Object (which it
is trying to learn) on the basis of defined Mandatory
Properties. After that it will take The Assistive properties
(in case if QTP is not able to uniquely identify the object
with help of Mandatory properties). Then it will go for the
Ordinal identifier.

I think you need to remove all the Mandatory and Assistive
properties for your object ,, then QTP will automaticallt
will be forced to use Ordinal properties,,, and then you
can fetch the value of Index.

Lucky Singh

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

How to manage a drag drop event in the qtp

3 Answers  


Today only i joined in this site. Can u please tell me definition of parameterization. and how i can do the parameterization?

4 Answers  


Can we add the function library directly from scripting in qtp instead of adding from resource tab?

5 Answers   IBM,


HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com

0 Answers  


What is the Test Object model in QTP?

3 Answers  






How good are you in writing VBscript code for your application? Can you completely write VBscrit for your project with out using recording mode in QTP?

3 Answers   CTS,


What is 'sleep' in sync point?

0 Answers  


I want different types of discriptive programming statments coded for different types of web-objects?Give syntax and example?

2 Answers  


Hi, this is venkatesh. Q: I have 10 files in a folder(say D:\). Out of which there are some .txt, .xls, .doc. I want to know how to get the count of each file using qtp? If U have any ans, plz write script for that...

4 Answers   EDS,


i have string "I LIKE INDIA"..how to i get LIKE from the sting..

6 Answers   HealthAsyst,


Differentiate the two Object Repository Types of QTP.

5 Answers  


hi nani my doubt is how does qtp process metrix related to software process.

0 Answers  


Categories