What is the Test Object model in QTP?
Answers were Sorted based on User's Feedback
Answer / agadhu
Just as you use QuickTest to automate the testing of your
applications, you can use the QuickTest Professional
automation object model to automate your QuickTest
operations. Using the objects, methods, and properties
exposed by QuickTest's automation object model, you can
write programs that configure QuickTest options and run
tests or business components instead of performing these
operations manually using the QuickTest interface.
Automation programs are especially useful for performing the
same tasks multiple times or on multiple tests or
components, or quickly configuring QuickTest according to
your needs for a particular environment or application.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / agadhu
An object model is a structural representation of software
objects (classes) that comprise the implementation of a
system or application. An object model defines a set of
classes and interfaces, together with their properties,
methods and events, and their relationships.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sreeprasad
the test object model is a large set of object types or
classes that Quick Test uses to represent the objects in
your application. Each test object class has a list of
properties that can uniquely identify objects of that class
and a set of relevant methods that Quick Test can record
for it. A test object is an object that Quick Test creates
in the test or component to represent the actual object in
your application. Quick Test stores information about the
object that will help it identify and check the object
during the run session.
Is This Answer Correct ? | 0 Yes | 1 No |
I have recorded a test using qtp to download a file in an application. Code: Browser("MFA Work Queue Manager").Page("MFA Work Queue Manager").Link("Rules Maintenance").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebEdit("txtSearch").Set "PmtType" Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebButton("Search").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebButton("Export").Click Browser("MFA Work Queue Manager").Dialog("File Download").WinButton("Save").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").Sync Dialog("Save As").WinButton("Save").Click Dialog("Save As_2").WinButton("Yes").Click Problem: When running this test it gives an error at line no. 5 as Save button object is not identified by it's parent object. This code I ran 4 times after recording at it was working fine but 5th time onwords, it starts giving me the above problem. I used exist property option, Check Property option but none of this changes work at all. Kindly help...
For an application we automated QTP scripts. At the same time new requirement comes for a new module for the same application and its already developed. So how we automated now this new module with the old application(using old QTP script).
take one exmple and write on that discriptive programe in qtp?
What is the extension of 'Log file' in QTP
Where you get the run time data table?
how will you handle the situation when object is not caputred during record?
What is deference between normal QTP testing and descriptive programming?
Hi, I Need code to click the webbutton inside of webtable. I need to click a particular 'Edit' webbutton inside of webtable. For Example... Having 5 Rows and 10 Columns. 'Edit' webbutton are placed in 10th Column. I need to click the 3rd row 'Edit' button with unique value. Browser("....").Page("...").Frame("...").WebButton("btn_Edit ") I Tried with below code: Set objButton = Browser("...").Page("...").Frame("...").WebTable("...").Chil dItem(3,10, Webbutton,0).Click - Not working this code :( Anyone can help me to sort out this simple issue ???
What is object spy in quicktest professional?
How you are developing the script? Using record and play back or manual?
How many types of recording modes in qtp?
How to execute the test cases using QTP. i.e What is the use of QTP while execution