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 / 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 |
for example one window is there, the window contains how many edit box's i want script? i know the script but that is not exact answer.... The script is like this .......... set a=description.creation() a("Native class")="WinEdit" b=window("Flight Reservation").childobject(a).count msgbox b
What are the file extensions for per-action, shared object repository files and what is the extension for library files?
Wher to use DATA TABLE METHODS in Qtp?What is the use of it?
hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?
HI. Plz Clarifie my doubt,having 2+yrs experience in Testing , But My accedamics(Xth,INTER) are Less than 60%, But B.Tech 72%. It creats any problem , When i change to any MNC. plz tell me......... lot of friends told it's a problem, Some people says NO problem, What .............
What is the difference between Image Checkpoint and Bitmap Checkpoint?
How to supress warnings from the "Test results page"?
Write a script to customize the test results in PDF and HTML format.
Which property will you use to check the object state? (Exist)
how can I read text in browser and export the same into text file?
Is there any vbscript in QTP for Data Driven Test instead of using the option provided by QTP?
How to define array in qtp?