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 |
is it possible to map an image as standard Object or u've to treat as virtual? how to map an Dynamic image into standard object?
How Exactly we can find out the INDEX No. of any object of an application when we test that application in QTP? Explain this by giving me the example of all LINKS of G-Mail (including home page, User-account page and all possible pages you ever seen in G Mail)?????? and if your answer is that as per appearance of objects(LINKS) in application we can find out the index number in application then tell me how you find out which object(LINK) having INDEX No. 1,2,3 and so on and how you say which object(LINK) is appeared first and which is last?
in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and columns in action2. how can check using script?
i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.
What is Description Object?
where is the bitmap checkpoint be saved
With out using the task manager,how to close the application using vbscript and what is the statement?
hai friends i already ask this question but when i post the question the alignment goes wrong .....my question is we have a WEB TABLE ....assume that web table having 3 row's and 3 column here in 2nd row 3rd column having VISIT FACEBOOK link...now i want to check the VISIT FACEBOOK link is available or not ..if it's there i want to click the link ...then how to find the web table row or column count ....don't write the excel or data table script here friends .....consider that it's a WEB TABLE do a favour ...thank's
if we can find the status of script in qtp that either it's pass or fail then why we need to put this status on different excel file or log file in hybrid framework .please let me know asap thanks
how will b the questions if we keep one QTP project in CV.please tell me iam attending an interview.
suppose i can done the project , that project have 4 modules in that one module they have many links(web pages).in that time i can say i can work on some links? or total module?
what properties do use to identify a browser and page while using descriptive programming?