Answer Posted / ankit srivastav
The test object model is a large set of object types or classes that QuickTest 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 QuickTest can record for it.
A test object is an object that QuickTest creates in the test or component to represent the actual object in your application. QuickTest stores information about the object that will help it identify and check the object during the run session.
A run-time object is the actual object in your Web site or application on which methods are performed during the run session.
When you perform an operation on your application while recording, QuickTest:
? identifies the QuickTest test object class that represents the object on which you performed the operation and creates the appropriate test object
? reads the current value of the object’s properties in your application and stores the list of properties and values with the test object
? chooses a unique name for the object, generally using the value of one of its prominent properties
? records the operation that you performed on the object using the appropriate QuickTest test object method
For example, suppose you click on a Find button with the following HTML source code:
<INPUT TYPE="submit" NAME="Find" VALUE="Find">
QuickTest identifies the object that you clicked as a WebButton test object. It creates a WebButton object with the name Find, and records the following properties and values for the Find WebButton:
It also records that you performed a Click method on the WebButton.
QuickTest displays your step in the Keyword View like this:
QuickTest displays your step in the Expert View like this:
Browser("Mercury Interactive").Page("Mercury Interactive").
WebButton("Find")
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain about the test fusion report of quicktest professional?
Is it possible to switch between recording modes during a test creation?
Is there any relation between Keyword Driven Framework and Recording modes provided in QTP( whether Recording modes are applied on keyword driven framework or not?)
banking project description for software tester
How to modify object property in qtp ?
How to suppress warnings from the test results page?
Can we run test with out adding object in object repository? How it is possible?
How do you convert manual test cases to automated test cases?
How do you capture tooltip using QTP?
What do you mean by checkpoints in qtp?
Can I change properties of a test object?
Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!
if anyone has idea of the interview procedure in covansys, plz send me a mail?
before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...
any body can you help me what is the script to automate an comand promt