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 can we make a shared object repository in QTP 9?

3 Answers   Kanbay, Ordain Solutions,


what is Property......End Property loop? how to write sript for it in QTP

0 Answers  


How to use QTP for Regration testing, plz tell as with short Example of login window? plz tell as....

2 Answers  


1.explain end to end process of qc,2.how many tabs are in qc9.0,qc10.0 3.what is review, how many reviews are following in aproject 4.how will you get the requirements 5.why do we choose testing 6.how to export tc's and requirements to qc through add-ins

0 Answers  


How to call a function in QTP?Is there any method ? Thanks , PRASANNA

2 Answers  


What is the difference in testing a client-server application and a web application?

0 Answers  


Which scripting language used by quicktest professional?

0 Answers  


how to pripare BRS/FRS Document for different projects?

1 Answers   Wipro,


how to retrieve the xml file data through qtp. can anybody send script for this..

3 Answers   Synechron,


How to take screen shot of desktop by using vb script code or is there any method?

1 Answers  


str="QTP AUTOMATION TESTING" here how many T are there in the str finally i want to display the T

10 Answers   HCL,


What is the use of running the scripts in Hidden-mode in UFT?

0 Answers  


Categories