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

How will you enchance the script?

1 Answers  


I have a tool bar where 5 different buttons are placed, but these buttons are not traceable hence i have created a virtual object on save button of this toolbar. Now pls tell me how to use this virtual object while write script.

0 Answers   IBM,


how to export the result to notepad....for example i want to enter the user name and pass word and clicking on login button ......once you click on login button the corresponding page will open ...in that page you having one list box ...here you can get either success or failure ........friends here i want export the message what ever i got either success or failure .....how to export the result to note pad

1 Answers   Mind Tree,


How can we export test results to an excel sheet in QTP??? Can any one provide sample coding for this?????

6 Answers   TCS,


Thanks....But can u tell me how i use the QTP for GIS with one Example...

0 Answers  


How do you invoke an application using the step generator in qtp?

5 Answers  


Expalin Text/Text Area Checkpoint

1 Answers   Crea,


Hi. GetRoProperty and OUTPUT Value Both are same purpose or not? plz explain in deatil with example?

5 Answers  


Key word driven framework

0 Answers   Wipro,


Do you support automated testing? Why?

0 Answers  


I have recorded a test using qtp to download a file in an application. Code: Browser("MFA Work Queue Manager").Page("MFA Work Queue Manager").Link("Rules Maintenance").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebEdit("txtSearch").Set "PmtType" Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebButton("Search").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebButton("Export").Click Browser("MFA Work Queue Manager").Dialog("File Download").WinButton("Save").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").Sync Dialog("Save As").WinButton("Save").Click Dialog("Save As_2").WinButton("Yes").Click Problem: When running this test it gives an error at line no. 5 as Save button object is not identified by it's parent object. This code I ran 4 times after recording at it was working fine but 5th time onwords, it starts giving me the above problem. I used exist property option, Check Property option but none of this changes work at all. Kindly help...

1 Answers   Bank Of America,


How to check the URL using Automation tool QTP

2 Answers  


Categories