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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

give me an example where u used good judgement and logic in solving a problem

3350


Hi, I am using 2 excel sheet.First excel sheet works fine with the script, if it opens the 2nd excel sheet,it works fine,but after finish all the rows it is giving the following error in the following line. InValid Procedure call or argument Line (178): "Browser("name:="&result,"application version:=internet explorer 7").Page ("title:=bgt.*", "index:=0").WebList ("name:=SearchType","html id:=Select1","location:=0").Select SearchType1". I have seen a web article says that,If we use any vbscript friendly name it may gives the above error-Invalid procedure call or argument not sure,Am I using any VBScript frienlyName? in the above line? [but the same line is perfecly working for first Excel ] It is little urgent. Any Help Thanks you

1439


How to Test the mainframe application?

1816


On the website, the protocol has been changed https: to https what you will do? Tell me your approach?

576


what is description object?

1585






i can done the project with QTP in that time i can say how many members in my team size?

1365


I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.

2459


Explain the difference between call to action and copy action?

514


What is the synchronization point in qtp?

557


How to creating an output value using quicktest professional?

538


To which environments does quicktest professional (qtp) supports?

582


what is meant by source control?

1687


How we can import data from database?

643


What are benefits of qtp?

575


Can you list some technologies that support qtp?

548