what is the difference between Automation object model(AOM)
and test object model(TOM)
Answers were Sorted based on User's Feedback
Answer / uday kumar_anem
By using QTP automation object model, we can automate QTP
operations.
By using object, methods and properties provided by QTP, we
can write programs that can configure QTP operations and
settings.
For example, you can create and run an automation program
from Microsoft Visual Basic that loads the required add-ins
for a test or component, starts QuickTest in visible mode,
opens the test, configures settings that correspond to those
in the Options, Test Settings, and Record and Run Settings
dialog boxes, runs the test, and saves the test.
Test Object Model, is nothing but how QTP identifies the
objects in the application.
How to get the class of an object, what mandatory and
assistive properties are used during recording the
application, how it identifies the objects during run
session etc...
| Is This Answer Correct ? | 12 Yes | 0 No |
Answer / nani
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.
for more information go to the QTP Help.
| Is This Answer Correct ? | 2 Yes | 1 No |
There are 3 types of frame works in QTP 1. Linear frame work 2. Modular frame work 3. Key word driven frame work. Can any body explain the above 3 frame work models. y2k_ram2000@yahoo.com
6 Answers Fidelity, GDS, IBM, TCS, Wipro,
There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code
How to use library files in QTP? how we can call these files in to script?
I have the script like this: Browser("Login").Page ("Application").Frame("ScopeFrame").Link("DC3701737 (Active)").Click in which the value "DC3701737" will get changed and i have to use the same value in so many places. I got the value "DC3701737" in to a variable(Say x). Now if i want to pass the variable in to link object .. how? Browser("Login").Page("Application").Frame ("ScopeFrame").Link(x).Click Is it possible to pass any variable into a link object .. so, that the application will select that link automatically? If ur not able to understand, pls let me know.
Hi I have a doubt in qtp. Can you please clarify my doubt. If we are importing the data from excel sheet in qtp the the script is running the number of row times. I mean if there are 4 rows in excel sheet the script is running 4 times. cant we avoid this. suppose i have tis script: datatable.Import "C:\Documents and Settings\sailaja\My Documents\login1.xls" n = datatable.GetRowCount For i =1 to n systemutil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe" datatable.SetCurrentRow i Dialog("Login").WinEdit("Agent Name:").Set DataTable ("Username", dtGlobalSheet) Dialog("Login").WinEdit("Password:").Set DataTable ("Password", dtGlobalSheet) Dialog("Login").WinButton("OK").Click Window("Flight Reservation").ActiveX ("MaskEdBox").Type "020209" Window("Flight Reservation").WinComboBox("Fly From:").Select "Frankfurt" Window("Flight Reservation").WinComboBox("Fly To:").Select "Los Angeles" Window("Flight Reservation").WinButton("FLIGHT").Click Window("Flight Reservation").Dialog("Flights Table").WinButton("OK").Click Window("Flight Reservation").WinEdit("Name:").Set "Sailaja" Window("Flight Reservation").WinButton("Insert Order").Click Window("Flight Reservation").WinMenu ("Menu").Select "File;New Order" window("Flight Reservation").Close next I created a excel sheet with 3 rows and 2 columns. (username and password). The script is running 9 times. I made the option run one itaration only . eventhough it is running 9 times .can u plaese clarify my doubt. Thankyou Sailaja.
What is the purpose of loading qtp add-ins?
Hi, I am new into the field of testing and I need to know how can I begin automating the testing of Mainframe applications using QTP. Can anyone help me?
Anybody wants to learn QTP with realtime implementations and complete framework desiging plz contact to this mail id ciraaj@gmail.com
How to change the screen name while running the test.
HO DO U CALL A ACTION?
In QTP how to interact tool and application build?
Waht is Test Report , What it consists?