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 identify the objects using descriptive programming when the object property values are same, i mean in a page 10 objects are there i want to click the 6th object but all the object property values are same? using descriptive programming
What are the advantages of parameterization ?
What is object repository?
Brief the process of testing with UFT?
Explain how you can replace string in qtp?
how much space occupies in object respository by default?
How can we make a shared object repository in QTP 9?
3 Answers Kanbay, Ordain Solutions,
Have you ever written a compiled module? If yes tell me about some of the functions that you wrote.
i am new to qtp i do not know how to write script how to write the code to login if it fails how to able error messages
Tell me the difference between the Data Driven Frame work and Keyword Driven frame work?
What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz
What is the purpose of loading qtp add-ins?