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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Through array we can execute the testcase how ? give me example

1401


hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com

1413


give me an example where u used good judgement and logic in solving a problem

3360


How do you send email with attachment from outlook using qtp ?

561


How qtp recognizes the object?

671






What is the difference between call to existing action and copy of an action?

603


How is UFT 11.5 version different from UFT 12.0?

610


What is method name to compare two XML files.

1537


Mention the test steps of qtp.

540


what is profile tool?

1607


How u will do versioning in QTP?

1457


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

1516


What is the registration process and examination fees?

551


Explain different recording modes?

583


How to associate shared object repository to test in qtp?

505