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
Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri
i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet
please any one can explain the keyword driven framework. with gmail example.
How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.
How to record a qtp script ?
Both static and dynamic arrays are handled by the vb script. Is it true?
How can I use Call dlls in QTP ?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.
Name the different types of recording modes?
Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations
Why we load add-ins in qtp?
what is the advantages and disadvantages of using functions instead of re usable actions
How many tabs are available in debug viewer pane?
Brief the process of testing with UFT?
What is regular expression?