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 |
How to get line numbers in your editor in expert view?
Where we use data driver in qtp?
Which object repository we use in real time and can we merge 2 object repostiory and how?
Can we directly start working with QTP without any knowledge on WinRunner? (After getting trsining on QTP)
What is the extension of script and object repositary files?
Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..
tell me about regular expressions in QTP? where we use? give eample?
what is synchronization point, synchronization method, wait property method? with examples.. plz explain this in brief
How to add verification steps to tests?
Explain more about the Test Fusion Report of QTP?
What is the use of Regular expression?
what is the use of Browser.sync()