How QTP recognizes Objects in AUT?

Answer Posted / sridhar

QuickTest stores the definitions for application objects in
a file called the Object Repository. As you record your
test, QuickTest will add an entry for each item you
interact with. Each Object Repository entry will be
identified by a logical name (determined automatically by
QuickTest), and will contain a set of properties (type,
name, etc) that uniquely identify each object. Each line in
the QuickTest script will contain a reference to the object
that you interacted with, a call to the appropriate method
(set, click, check) and any parameters for that method
(such as the value for a call to the set method). The
references to objects in the script will all be identified
by the logical name, rather than any physical, descriptive
properties.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is UFT 11.5 version different from UFT 12.0?

606


can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks

1523


when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next

3272


Explain how Selenium is different from UFT?

691


How can you close the second opened browser?

800






i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer

3491


What is the use of ordinal identifier in qtp?

604


Define Canvas view of UFT?

618


what is impact analysis on regression testing?

2044


Can U Explain about QTP tool from older version to latest version also its differences?

1516


Which advantages helping QTP to hold the position of "Market Leader" for such a long period?

1384


Explain the types of properties that quick test learns while recording?

556


can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.

5096


How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet

1538


I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com

1475