In project module it contains 3-ok buttons with same
properties who qtp identify its objects while runing ??
Answers were Sorted based on User's Feedback
Answer / uday kumar_anem
QTP uses unique properties to distinguish the object from
other objects. If all these three buttons have same
properties then it go for Ordinal Identifiers. These
ordinal identifiers are 1. Index, 2. Creation Time, 3.
Location.
1. Location: There is no way that all these 3 buttons
placed at the same location.
2. QTP adds index to each of the objects i.e it creates
object description as ok_1, ok_2, ok_3
3. No two objects cannot be created at same time(Web add-in
only)
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / srinivasu
In qtp we can identify the object with the help of
following :-
Whenever we record a script using QTP - QTP identifies an
object uniquely using the following mechanisum.
[i] First captured the mandiatory properties
Object/Window [Class name, Label name etc...
If the manditory properties is not unique
[ii] Assistive properties [X,Y,Width,Hight,Abslute of X...]
If Manditory/Assistive properties are not unique then
it goes to ordinal Identify which is either location
or Index
Note: If the Object is identified using location/index
and if an object location is changed or index is changed...
the script will fail.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / chaitu.c
In qtp we can identify the object with the help of
following :-
1.Assive properties and Mandatory properties
2.Smart Identification ( Basefilter and Option filtr
properties)
3.Ordinal Identification(through the Index and Location of
Object in the project module screen)
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / tvsramakrishnachowdary
this can be solved by Ordinal Identifiers Concept in QTP
| Is This Answer Correct ? | 1 Yes | 0 No |
In qtp, explain what is crypt object
hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]
for example u can take ebay or plifcart online shoping web application--------- write acode in vbscript in qtp---- search box and write (iphone6)and click on go button then opened diff prise iphones in next page but u can select 30,000 to 90,000 list pls write code?
2 Answers FFASVA, Genpact, Wipro,
what is the difference between Automation object model(AOM) and test object model(TOM)
Hi,i have 3 years of experience in manual and Automation qtp.present i am searching for job in automation qtp 2Yrs,How to Explain the interviwer Roles and Responsibilites.please help me.
I recorded a Web based Application running on JAVA and when I went to play them back a week later they didn't run. I noticed that the Browser was putting in a (Underscore and a Number) for each line so i re-recorded and noticed the Underscore line wasn't the same as what i recorded last week so any script I record today will not work next week because the browser settings or how QTP recognizes it keeps changing. This is the new line Browser("Bureau of Labor Statistics_4").Page("Bureau of Labor Statistics").JavaApplet("SurveyApplet").JavaList ("Select an Area").Select "U.S. city average" This is the old line 'Browser("Bureau of Labor Statistics_3").Page("Bureau of Labor Statistics").JavaApplet("SurveyApplet").JavaList ("Select an Area").Select "U.S. city average" Notice the Burearu of Labor Statistics_3 adn Burearu of Labor Statistics_4. Why does it change and how do I prevent it from changing.
How to execute a winrunner script in quicktest professional (qtp)?
Hi All, I have a problem with getting the value which is available in the table and it is not having any unique property. Please find the below table TopicName CreatedBy ViewCount ------------------------------------------------ XXXX Y 10 ZZZZ ZZ 0 AAAA BBB 3 In the Above table TopicNames are link and it is having an id but the remainig two columns(Created by and ViewCount) are static Web element values and they are not having any unique property. Now i want to get the values of Created BY and View count for each and every topic. Can anybody give me the solution for the above ASAP. If anybody didn't understand the above please free to send me a mail by that i can send you the snap shots and some more description. You can catch me at krishnachand.p@gmail.com
what is the difference between call to copy action and call to an existing action
hi, i was adding the two numbers in qtp scripts but i didn't get the answer. see my below script, i dont know wht is the problem. i passed the value a=3 b= 2, i got the ans 32 instead of 5. i thing the problem is to be c = a+b my mail id karthis4u@gmail.com Dim a, b, c a = inputbox("enter the a ") b = inputbox("enter the b ") c = a + b print c
Where to use function or action?
can any body clearly explain about hybridframework with the explanation for files what ever we come acros in this frame work?