how qtp identify two objects having same name, supose
objects are in same page also with same name,specify spl
feature.
Answers were Sorted based on User's Feedback
Answer / sudheer 4m mphasis
This is the SPL feature for this problem.
QuickTest can use the following types of ordinal
identifiers to identify an object:
Index. Indicates the order in which the object appears in
the application code relative to other objects with an
otherwise identical description. For more information, see
Identifying an Object Using the Index Property.
Location. Indicates the order in which the object appears
within the parent window, frame, or dialog box relative to
other objects with an otherwise identical description. For
more information, see Identifying an Object Using the
Location Property.
CreationTime. (Browser object only.) Indicates the order in
which the browser was opened relative to other open
browsers with an otherwise identical description. For more
information, see Identifying an Object Using the
CreationTime Property.
Is This Answer Correct ? | 16 Yes | 1 No |
Answer / ratheesh
BY using index property u can define the same objects
Is This Answer Correct ? | 12 Yes | 1 No |
Answer / n.n.raju
QTP identify the objects by logical name and class but
smart identification mechanism is used for identified the
object from object repository
in this situation QTP uses ordinal identifier Concept
Is This Answer Correct ? | 7 Yes | 3 No |
Answer / jayant naikwade
you have to enter to the rep and find the object
then check the propertoes
and you have to add index property there
in both objects with the same name
and for descriptive you have to include the index:= and the
number of index of the object
within the object descrioption
basically the index is what can help you identifying the
correct one
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / nidhi
objects ar identify by qtp through their logical name and
class we can use smart identification to recognise object
which is not normally recognised by qtp in normal process
do.send answer correct me i m wronge
Is This Answer Correct ? | 1 Yes | 7 No |
How to call .vbs functions in QTP? plz Explain indetail
Do you know SQL? I know SQL but i don't have any experience...that's it..No more questions ...simply he said " you can leave for the day" ...guys prepare SQL Quires before attending interview in bank of america...
How do u fetch data from a database ?
Can anybody help me for vb script in qtp? give me examples for practice plz.
What is Version control?
Give me exact application where we should use low level recording?
At a time how many users can access QTP?
Name the properties you would use for identifying a browser and page when using descriptive programming?
Hi,The question is write a script for the following scenario. scenario:in a job portal i entered QTP 3yrs testing then click search button.then it displays results like Test lead bangalore (here is a checkbox). Test lead hyderabad check box so on... question is if test lead position in bangalore then checkbox shld be enabled automatically..
4 Answers Thatavarti Technologies,
What is the recovery scenario in qtp?
hi all here i have tab named "Workbench" By clicking on "workbench" tab.it displays 4 tabs like below workbench common cargo commercial charter "common" tab have 10tabs inside,"cargo" tab also haveing 15 tabs inside and remaining two tabs also having few tabs inside. when clicked on "common" tab.it displaying the script like tab("workbench").select"common" if i clicked on "cargo".it displaying the script like tab"workbench_2").select"cargo" if i clicked on "commercial".it displaying the script like tab"workbench_3").select"commercial" if i clicked on "charter".it displaying the script like tab"workbench_4").select"charter" I have used a "FOR LOOP" for common,commercial,cargo,charter tabs.it was stopped at second tab SO, CAN I RECOGNIZE "WORKBENCH_2,_3,_4" AS A SINGLE VARIABLE if not, can anyone plese help me to solve this
What is use of Global Sync Timeouts in QTP9.2?