what are the mandatory and assistive properties of objects
in QTP?What is attached text?Plz assist me with proper
answer.
Answers were Sorted based on User's Feedback
Answer / ramarao
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 ? | 63 Yes | 2 No |
Answer / venkat
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 ? | 9 Yes | 0 No |
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 ? | 11 Yes | 4 No |
Answer / sonu
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 ? | 4 Yes | 1 No |
Answer / vishal
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 |
Answer / shankar.majji
Mandatory Properties:
1. Text
2. Native Class
| Is This Answer Correct ? | 7 Yes | 19 No |
Suppose there is a bitmap with some text in it how do you write the script to get the text.
What are the ways you can synchronize?
How u do the back end testing in QTP?
give me descriptive programing code sample flight application in qtp?
Explain data driven framework?
can u pls explain me About Driver script.
Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)
What is the difference between Systemutil.run and Navigate.
What are the key elements available in test result window?
what is the script(qtp) to export and import the datas from MSaccess to Excel sheet.if anybody know plz tell me.
we are submitting data one form to another form.defaultly it is time period set as 5sec. but it is taken 15sec what to do
How qtp recognizes the object?