ALLInterview.com :: Home Page            
 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  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Testing >> Automation Testing >> QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions (496)
 Load Runner interview questions  Load Runner Interview Questions (486)
 QTP interview questions  QTP Interview Questions (3495)
 Test Director interview questions  Test Director Interview Questions (161)
 Rational TestSuite interview questions  Rational TestSuite Interview Questions (106)
 Silk Test interview questions  Silk Test Interview Questions (59)
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions (385)
Question
what are the mandatory and assistive properties of objects 
in QTP?What is attached text?Plz assist me with proper 
answer.
 Question Submitted By :: QTP
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
Once u record the script qtp caputure the properties of an
object and give an unique logical name.And find the objects
by using manadatory properties(class,label),if manadatory
properties are not unique that will be go for assitive(x,y
co-ordinates, enable,disable,height,width) properties, if
it is not unique that will go for oridinal properties
(location,index).By using these properties qtp identify the
properties of the object.
if u have any qurriers contact with me on mail
mail id:physics143@gmail.com
 
Is This Answer Correct ?    48 Yes 1 No
Ramarao
 
Answer
# 2
First of all the QTP will learn all the mandatory properties
at a time and then think weather these properties are
sufficient to identify the object uniquely. If it feels
sufficient then it will stop learning otherwise it will
learn the first assistive property and once again stops and
thinks weather these properties are sufficient to identify
the object uniquely. If it feels sufficient then it stops
learning otherwise learns the second assistive property and
checks weather these properties are sufficient or not. This
process continuous till the QTP satisfies or up to the end
of the assistive properties list. At the end of the
assistive properties list also if it feels not satisfied
then it will finally learn the ordinal identifier and stops
learning.
 
Is This Answer Correct ?    6 Yes 0 No
Venkat
 
 
 
Answer
# 3
at runtime qtp recognize object using mandatory
properties..if the mandatory properties are not sufficent
to recognize the object then it's go to assistive
properties...attached text is one of the property to
recognize the object .suppose the edit box of Agent name in
flight reservation attached text property is "AgentName:"

if u want to change the mandatory or assistive properties
go to the object identification...already default
properties of mandatory and assistive properties are
available in object identification .No one can give the
answer comman properties of mandatory and assitive
properties..because the properties are changed depends on
the environment..like standard windows,web,visul
basic,java...ok..
 
Is This Answer Correct ?    9 Yes 4 No
Murali Raju
 
Answer
# 4
when ther is a mismatch with the objects in the object
repository qtp identifies the object with the mandatory
properties and assistive properties and performs the
operation and smart identification is enabled in reportin
the results
 
Is This Answer Correct ?    3 Yes 1 No
Sonu
 
Answer
# 5
its a prop that is in MATH!!! 
Is This Answer Correct ?    3 Yes 7 No
Ass Hole
 
Answer
# 6
mandatory and assistive props are selected while we are
doing object identification,so wile identifying all
mandatory props are must and if these are not sufficient
one by one assistive property is used till it uniquly
identifies one oblect.
attached text is a property which can be selected in
mandatory or assis props.
 
Is This Answer Correct ?    5 Yes 14 No
Vishal
 
Answer
# 7
Mandatory Properties:
1. Text
2. Native Class
 
Is This Answer Correct ?    7 Yes 17 No
Shankar.majji
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
I am a beginner plz tell me,how do we write scripts in QTP? In my opinion we can write scipts in expert view or there is another option where we can write scripts. plz tell me.   5
how can i call an external action,which is not added external action of an action? Ordain-Solutions 2
How to get data from excel sheet to the script? write the script. Liquid-Hub 6
give one example where you have used regular expression? Ordain-Solutions 6
does the vb script knowledge is mandatery in testing using QTP   1
how i will connect oracle or microsoft acess database through manually written Script Aurigo 2
How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?   2
1. How can we use same object repository and Testscript which is in English flavor to check the application in different languages thru QTP?(Chinese,Dutch,French) - I generated script in english and want to use the same script with different languages? - for windows i used regular expressions - I need for edit box,button and combobox, (English,French,Dutch,Chinese) These are the properties of a button in different languages Properties English Dutuch Chinese French x 400 758 631 601 y 673 603 592 676 windowstyle 1342242816 1342242816 1342242816 1.34E+09 windowid 2 2 2 2 windowextended style 4 4 4 4 width 120 120 120 120 visible TRUE TRUE TRUE TRUE righttoleft reading FALSE FALSE FALSE FALSE righttoleftlayout FALSE FALSE FALSE FALSE rightaligned FALSE FALSE FALSE FALSE regexpwndtitle cancel Loschen Chinese language Annuler regexpwndclass button button button button objectclass button button button button hwnd 132872 657228 656932 656782 height 33 33 33 33 focused FALSE FALSE FALSE FALSE enabled TRUE TRUE TRUE TRUE attached text abs_y 669 599 627 597 abs_x 396 754 588 672 text cancel Loschen Chinese language Annuler nativeclass button Button ordinal Identifier type,Value none none none none smartidentification FALSE FALSE FALSE FALSE comment TCS 1
How to get line numbers in your editor in expert view?   2
How to invoke Mozilla from QTP thru VB Script   1
How can I replace all the text from the QTP script with some other text. Is there any replace all function in QTP Any one can help me Livetek 5
hi i have one issue while automating the script using QTP i want scrool down .i cannot do even using scrool down methqad is not working .the object will take WebElement plz is there any code help me   3
 
For more QTP Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com