suppose u hav a dialog or window which contains 10 buttons
with same name & value. now how to check each button? i.e.
how qtp indetifies these objects separately?

Answers were Sorted based on User's Feedback



suppose u hav a dialog or window which contains 10 buttons with same name & value. now how to ..

Answer / neeraja

QTP identifies object based on mandatory
properties ,assitive properties which are present in the
object repositery and it also uses its smart identification
if it is enable .if at all it unable to find the object
with this properties it will go for ordinal identifier

Is This Answer Correct ?    2 Yes 0 No

suppose u hav a dialog or window which contains 10 buttons with same name & value. now how to ..

Answer / true friend

This Will Show the order used to identify the object when
two or more objects get duplicated.

tools -> object identification

select the environment

a) standard windows
b) active-X
c) visual basic
d) multi media

select the class
if we select the environment as standard window
and class as winbutton

then it will display

Mandatory properties Assistive properties ordinaliden-
tifier
-------------------- ------------------- ------------
a)Native class a)window-ID a)location
b)Test b)Index


regards
True friend

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Inserting a Call to Action is not importing all columns in Datatable of globalsheet. Why?

1 Answers   Crea,


For an application we automated QTP scripts. At the same time new requirement comes for a new module for the same application and its already developed. So how we automated now this new module with the old application(using old QTP script).

2 Answers   Bosch,


What is our exact stage involvement with QTP?

1 Answers  


What is throw Object?

0 Answers  


How to resume the second iteration in the QTP,, if the error has intrupted the the second iteration. When i use run from step it starting from the first iteration again.

1 Answers  


How many types of recording modes are there?

0 Answers  


How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..

0 Answers  


i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework

0 Answers   IBM, TCS,


How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?

0 Answers  


What is the extension of script and object repositary files?

2 Answers  


I have written some scripts in QTP by using older version, but I want to run them in latest version. Is there any process to do that.If so can anyone explain me?

1 Answers  


how can i pass parameters into function?

4 Answers   Livetek,


Categories