ALLInterview.com :: Home Page Forum9.Com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories >> Software >> Testing >> Automation-Testing >> QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
Question
what to do if application have 3 "ok" button with same 
logical name and same properties, how qtp can identify them.
 Question Submitted By :: Rajeshwari Bahaddur
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what to do if application have 3 "ok" button with same logical name and same properties, how qtp can identify them.
Answer
# 1
i think in this scenario QTP will be cofused which button
should be selected....

so what we will do we will prefer low lwvwl recording
because in low level recording whatever object is clicked it
captures the co-ordinates aswell.... X axis &   Y Axis....
so this way QTP will recognise the buttons separetely bcoz
they will be located on diffrent location on the same web
page.....
 
Is This Answer Correct ?    0 Yes 0 No
Shivangi
 
  Re: what to do if application have 3 "ok" button with same logical name and same properties, how qtp can identify them.
Answer
# 2
there r many ways 
1. use index property (0,1,2) now surely it will recognize 
2. another way is spy on each button check which propery 
uniq for each object then use only that propery while 
recording . it will recognize sure.
 
Is This Answer Correct ?    0 Yes 0 No
Khemlal Sinha
 
 
 
  Re: what to do if application have 3 "ok" button with same logical name and same properties, how qtp can identify them.
Answer
# 3
inorder identify similar objects use msw id.it is the 
unique id provided by system foe every object.
 
Is This Answer Correct ?    0 Yes 0 No
Narendra Babu
 
  Re: what to do if application have 3 "ok" button with same logical name and same properties, how qtp can identify them.
Answer
# 4
Use descriptive programming to identify the objects with 
different physical properties....
 
Is This Answer Correct ?    0 Yes 0 No
Chitta
 
  Re: what to do if application have 3 "ok" button with same logical name and same properties, how qtp can identify them.
Answer
# 5
We can use the Index propety which the QTP can easily 
identify the Object.
 
Is This Answer Correct ?    0 Yes 0 No
Arul Antony Prakash
 
  Re: what to do if application have 3 "ok" button with same logical name and same properties, how qtp can identify them.
Answer
# 6
ACCORDING TO GUI EACH AND EVERY OBJECT SHOULD BE PLACED IN 
AUNIQUE LOCATION(INTERMS OF COORDINATES).BY APPLYING A 
CONCEPT OF S.I(SMART IDENTIFICATION)WE CAN EASILY HANDLE 
THIS SITUATION .
 
Is This Answer Correct ?    0 Yes 0 No
Srinivas
 
  Re: what to do if application have 3 "ok" button with same logical name and same properties, how qtp can identify them.
Answer
# 7
'tool' menu->object identification->select corresponding s/w
build parent->select similar object type/class->select class
and text as mandetory and window id as assistive->click'ok'



exact ans for this
 
Is This Answer Correct ?    0 Yes 0 No
Vishali
 
 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
how do check the links in a webpage ? Accenture4
Can we add the objects of an application dynamically? KEN-Group1
How to get data from excel sheet to the script? write the script. Liquid-Hub4
I am having trouble understanding #1 how to paramaterize a userid and password that I need to call in about 25 existing scripts. I need to know how to Create a Reuseable action for 25 existing scripts that will call the exact same userid and password? I need to know how to create a Reuseable action and then have it called by existing scripts being run in a batch.  1
hi all, I have installed QTP successfully on windows vista. I am able to record and run on windows applications, but facing problem with web applications. While recording, I am able to open the web application, but when I click on any object or give login name and password, the events are not getting recorded in QTP. Could anyone solve the problem. Any settings to be done for web applications other than selecting web-addin? Waiting for replies. Thanks in advance.  1
What is the extension for Recovery scenario?  2
how to merge 2 object repositories in qtp 9.0.what is use of merge and y merge is used?  1
What is the exact difference bet function and action in QTP Anybody can explain it in detail..Thanks in advance.. Wipro6
what is the difference between image and bitmap check point  3
WHAT IS A TEST STRATEGY & WHAT IS THE DIFFERENCE BETWEEN TEST STRATEGY & TEST PLAN? CTS14
Is it possible to return multiple values from a function..? Then how..?  2
Plz explain about InTERNAl Environment variable, External environment variable,builtin environment variables with examples? TCS1
Is there a function to find the number of occurrences of sub strings within a string?  1
What is the extension of script and object repositary files? Maveric6
what is standalone database Wipro1
WHAT IS THE DESCRIPTIVE programming when it is useful? & when to use this ?  1
What does VBS file contain...??? what is VBS file.. ??? GE4
How to capture screenshots of Exceptions/Errors during run- time? Ordain-Solutions9
Give me some scripts for 1). checking webpage links (counting links,opening web pages,counting child elements) CIL2
what is the framework followed by ur company in qtp  5
 
For more QTP Interview Questions Click Here 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com