In project module it contains 3-ok buttons with same
properties who qtp identify its objects while runing ??

Answers were Sorted based on User's Feedback



In project module it contains 3-ok buttons with same properties who qtp identify its objects while ..

Answer / uday kumar_anem

QTP uses unique properties to distinguish the object from
other objects. If all these three buttons have same
properties then it go for Ordinal Identifiers. These
ordinal identifiers are 1. Index, 2. Creation Time, 3.
Location.
1. Location: There is no way that all these 3 buttons
placed at the same location.
2. QTP adds index to each of the objects i.e it creates
object description as ok_1, ok_2, ok_3
3. No two objects cannot be created at same time(Web add-in
only)

Is This Answer Correct ?    9 Yes 0 No

In project module it contains 3-ok buttons with same properties who qtp identify its objects while ..

Answer / srinivasu

In qtp we can identify the object with the help of
following :-

Whenever we record a script using QTP - QTP identifies an
object uniquely using the following mechanisum.

[i] First captured the mandiatory properties
Object/Window [Class name, Label name etc...

If the manditory properties is not unique

[ii] Assistive properties [X,Y,Width,Hight,Abslute of X...]

If Manditory/Assistive properties are not unique then
it goes to ordinal Identify which is either location
or Index

Note: If the Object is identified using location/index
and if an object location is changed or index is changed...
the script will fail.

Is This Answer Correct ?    3 Yes 1 No

In project module it contains 3-ok buttons with same properties who qtp identify its objects while ..

Answer / chaitu.c

In qtp we can identify the object with the help of
following :-

1.Assive properties and Mandatory properties

2.Smart Identification ( Basefilter and Option filtr
properties)

3.Ordinal Identification(through the Index and Location of
Object in the project module screen)

Is This Answer Correct ?    2 Yes 1 No

In project module it contains 3-ok buttons with same properties who qtp identify its objects while ..

Answer / tvsramakrishnachowdary

this can be solved by Ordinal Identifiers Concept in QTP

Is This Answer Correct ?    1 Yes 0 No

In project module it contains 3-ok buttons with same properties who qtp identify its objects while ..

Answer / xyz

qtp identify useing regular expression

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More QTP Interview Questions

what is the advantages and disadvantages of using functions instead of re usable actions

0 Answers  


In a Web appl, on a page, there are student names & details listed.On clicking sort button,details are sorted on Names.How do u verify htat sorting is done by using QTP?

1 Answers   IBM,


Hi i want to export the data from applicatioon to excel and later i want to import and use it for my scripts hoe can i do this?

1 Answers  


how can we return a value from userdefined function for eg 2 functions in func1 iam getting 2 values(a,b) and storing in var(C). now i want to pass that var(c) to another func2 give me the script

1 Answers  


Tell me one scenario, the complex functionality you have automated in your project?

0 Answers  






How can I map test requirement to Test Set (multiple test cases)? Under test lab, I have multiple test cases. I would like to map 1 requirement to all test cases under that test set (in test lab)? Currently, I think QC only allow mapping 1 test requirement to 1 test case. Instead I would like to map 1 test requirement to multiple test cases under one test lab.

4 Answers   CarrizalSoft Technologies, DST Global Solutions,


what is advantage of descripting programming in QTP?

3 Answers   ADP,


hello, i just started searching for a job on QA ,need QTP software full version.plz can any body help me...my email id is padma_ub@yahoo.com.thanks in advance.

0 Answers  


Hi Friends, Can you please answer these questions of QTP Certification? 1.) What are bitmap checkpoints sensitive to? A. Image size and object type B. Object type and image type C. Screen resolution and object type D. Screen resolution and image size 2.)What are the phases in the QuickTest workflow? A. Plan, Record, Enhance, Run B. Prepare, Record, Verify, Run C. Plan, Create, Verify & Enhance D. Prepare, Create, Verify & Enhance, Integrate 3.) What are the two most commonly used ADO objects? A. Fields B. Execute C. Connection, RecordSet D. Open, ConnectionString 4.)What options are available to filter objects in the Target Object Repository pane when merging object repositories? A. Show all objects or Show only objects with conflicting object types B. Show all objects or Show only objects with conflicting descriptions C. Show only objects with conflicting logical names or Show only objects with conflicting object types D. Show only objects with conflicting logical names or Show only objects with conflicting descriptions 5.)Which of the following is an example of a missing resource? A. An object B. Run Results C. A Regular Action D. An External Action 6.)What method is used to retrieve the number of columns in the query results? A. Fields.Count B. Fields.Item(EOF) C. Fields.Count(BOF) D. Fields.Count.Value 7.)In VB Script functions, which one is false among the following a. Variables must be declared before use b. Variables may not be declared before use c. Variables may be declared without data types None

2 Answers  


HOW to invoke any recorded script in QTP with out using RECORD & PLAYBACK CONCEPT?

1 Answers  


Sometimes my QTP scripts works fine and sometimes its not though I am using same shared Repository and am not doing any changes in it.Even though for descriptive programming also its works fine and sometimes it does not work.my application is pretty stable.Could anyone please answer why am facing these types of issue??

1 Answers  


Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?

0 Answers  


Categories