How can i use Ordinal identifiers and Smart identification
methods
suppose i want to know the index no of check box



How can i use Ordinal identifiers and Smart identification methods suppose i want to know the ind..

Answer / siddu

Using smart identification QTP compares the object
properties at the recording or creating time to the current
test object properties (the properties of objects in the
object repository) using base filter and optional filter
properties. If any one property is matched then it
identifies the object uniquely.

Using ordinal identifies QTP identifies the object by giving
the values 0,1,2 ........ using INDEX, LOCATION, CREATION TIME

INDEX: The object which comes first when we are using tab
has value 0, the second one 1, and third one 2

LOCATION: The object which is nearer to x-axis have value 0,
the second one 1, and third one 2

CREATION TIME: For browser we are using this one. The first
created browers has value 0, the second one 1, the third one 3.

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More QTP Interview Questions

Tell me the difference between QTP9.2, QTP9.5 and QTP10.0

1 Answers   Genpact, HSBC,


what is error and fault in terms of software quality?

0 Answers   TCS,


What is the diffrence bettween QTP 9.0 and QTP 9.1?

1 Answers  


hi friends i was tried to connect qtp with oracle database using provider.i got a error.so anyone can help me out by correct script

2 Answers  


IF we use batch testing.the result shown for last action only.in that how can i get result for every action.

2 Answers  






What is meant by Environmental variables?2 types r there know…can u pls explain clearly?

1 Answers  


How to use the Object spy in QTP 8.0 version?

2 Answers  


Please explain how to open with notepad of saved html file by right click option using QTP

1 Answers  


What is API

1 Answers  


is qtp 9.2 create the scripts with the application run on mozilla firefox browser?

3 Answers  


w is output value

3 Answers   MBT,


1. How can we use same object repository and Testscript which is in English flavor to check the application in different languages thru QTP?(Chinese,Dutch,French) - I generated script in english and want to use the same script with different languages? - for windows i used regular expressions - I need for edit box,button and combobox, (English,French,Dutch,Chinese) These are the properties of a button in different languages Properties English Dutuch Chinese French x 400 758 631 601 y 673 603 592 676 windowstyle 1342242816 1342242816 1342242816 1.34E+09 windowid 2 2 2 2 windowextended style 4 4 4 4 width 120 120 120 120 visible TRUE TRUE TRUE TRUE righttoleft reading FALSE FALSE FALSE FALSE righttoleftlayout FALSE FALSE FALSE FALSE rightaligned FALSE FALSE FALSE FALSE regexpwndtitle cancel Loschen Chinese language Annuler regexpwndclass button button button button objectclass button button button button hwnd 132872 657228 656932 656782 height 33 33 33 33 focused FALSE FALSE FALSE FALSE enabled TRUE TRUE TRUE TRUE attached text abs_y 669 599 627 597 abs_x 396 754 588 672 text cancel Loschen Chinese language Annuler nativeclass button Button ordinal Identifier type,Value none none none none smartidentification FALSE FALSE FALSE FALSE comment

1 Answers   TCS,


Categories