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 |
What is the diff between image and bitmap check point?
Get the count of files of similar types from a folder.
in which situation u will use recording and in which situation u will used to write script manually
Hi i want to export the data from applicatioon to excel and later i want to import and use it for my scripts hoe can i do this?
wt is the use of multiple questions in QTP
Apart from VB script What are the fundamental criteria to gain the knowledge to write QTP script without OR and recording ?
datatable.Import("E:\Programming Samples\QTP Samples\OrderNumbers.xls") Asume we have 4 records in datatable Code reads the 4 rows in the sheet ok, but does it 5 times? It doesn't sound like closing the datasheet is the problem Can we close the datasheet runtime ?
How many types of run modes are there in qtp?
Can we select add ins in UFT during run time
Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("» County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma
can any one tell me what is syntax error in line msgexist=Browser("title:=Gmail: Email.*").Page( "title:=Gmail: Email .*").WebElement(innertext=&msg).exist 'code ************** Call login("lal="," " ) wait(5) Call errormsg("Invalid email address. [?]" ) Function errormsg(msg) msgexist=Browser("title:=Gmail: Email.*").Page( "title:=Gmail: Email .*").WebElement(innertext=&msg).exist if msgexist then Reporter.ReportEvent micPass,"enter valid username or pwd ",msg else Reporter.ReportEvent micFail, "entered valid uname and pwd",msg end if End Function
i m fresher iwant to know about testing what is the scope of testing field.i m aware in manual testing shall i go to automatiuon testinh directly or if any work experinc in manual testinh then only i go to manually automation testing.