ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
What is test object model in QTP ?
 Question Submitted By :: Nataraj
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is test object model in QTP ?
Answer
# 1
Test Object Model in QTP, is the combination of Test Object 
and Run Object information of the objects used.
 
Is This Answer Correct ?    4 Yes 3 No
Guest
 
  Re: What is test object model in QTP ?
Answer
# 2
QTP tool while recordin captures the objects and its 
current properites in appliction.If U run the script it 
will identifie the  run time object in appliction by  
captured  test object  proprites.
 
Is This Answer Correct ?    4 Yes 3 No
Kishore
 
 
 
  Re: What is test object model in QTP ?
Answer
# 3
the test object model in qtp is a large set of object types 
or classes that qtp uses to represent the objects in 
application under test.
 
Is This Answer Correct ?    5 Yes 2 No
Singhtanu
 
  Re: What is test object model in QTP ?
Answer
# 4
You can use the QuickTest Professional Automation Object 
Model to write programs that automate your QuickTest 
operations. The QuickTest Automation Object Model provides 
objects, methods, and properties that enable you to control 
QuickTest from another application. 
The new QuickTest Professional Automation Object Model 
enables you to automate test management. 
You can now control virtually every QuickTest feature and 
capability using the objects, methods and properties 
included in the QuickTest Professional Automation Object 
Model. Automation scripts make it easy to perform any 
QuickTest operation multiple times in multiple tests 
without having to open the QuickTest application, for 
example, 
•	You can write a script that modifies the test 
object description properties in the Object Identification 
dialog box and performs an update run on all tests in a 
specified file folder. 
•	After installing a new add-in, an automation script 
can associate this add-in to all relevant tests. 
•	You can write an automation script to run a 
selected batch of tests. For each test, you can retrieve 
the associated add-ins list. Then, if the necessary add-ins 
are not already loaded, you can close QuickTest, load the 
necessary add-ins, reopen QuickTest, and run the test. 
•	You can define your settings for a test in 
QuickTest, then click “Generate Script” in the Generate tab 
of the Test Settings dialog box to generate an automation 
script based on the current test settings. You can then 
apply those same settings automatically to multiple tests 
using the whole automation script or excerpts from the 
generated file. 
Example:
You can create and run an automation program from Microsoft 
Visual Basic that loads the required add-ins for a test, 
starts QuickTest in visible or minimized 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. 
Creating automation programs:
The Properties tab of the Test Settings dialog box, the 
General tab of the Options dialog box, and the Object 
Identification dialog box each contain a “Generate Script” 
button. Clicking this button generates a automation script 
file (.vbs) containing the current settings from the 
corresponding dialog box. 
You can run the generated script as is to open QuickTest 
with the exact configuration of the QuickTest application 
that generated the script, or you can copy and paste 
selected lines from the generated files into your own 
automation script. 
Generating an automation script for QuickTest Professional 
options:
1. Go to Tools -> Options.
2. Select the General tab.
3. Click <Generate Script>.
4. Save the script to the desired location.
5. Click <OK> to close the Options dialog. 
Generating an automation script for test settings:
1. Go to Test -> Settings.
2. Select the Properties tab.
3. Click <Generate Script>.
4. Save the script to the desired location.
5. Click <OK> to close the Test Settings dialog. 
Generating an automation script for object identification 
settings:
1. Go to Tools -> Object Identification.
2. Click <Generate Script>.
3. Save the script to the desired location.
4. Click <OK> to close the Object Identification dialog. 
The QuickTest Automation Object Model Reference file is a 
help file that provides detailed descriptions, syntax 
information, and examples for the objects, methods, and 
properties in the QuickTest Automation Object Model. 
When QuickTest Professional 6.5 is installed you can open 
the QuickTest Automation Object Model Reference from: 
•	The QuickTest program folder (Start -> Programs -> 
QuickTest Professional -> Documentation -> Automation 
Object Model Reference) 
•	The QuickTest Help menu (Help -> QuickTest 
Automation Object Model Reference)
 
Is This Answer Correct ?    6 Yes 1 No
Gagan
 
  Re: What is test object model in QTP ?
Answer
# 5
Test object model is nothing but qtp will create these
properties to identify the objects on application.
  Which means QTP will create & QTP will use these properties
 
Is This Answer Correct ?    0 Yes 2 No
Sridhar
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
How to import the Test Results in QTP to an Excel sheet Sonata4
how can i do QTP Certification can any 1 tell me . How 1 approch and who to approch Hydus6
What exactly a frame Work means?what are the different type of frameworks done in QTP?why the caption for QTP given as advanced keyword driven? Satyam4
How to see entire results at the same timeafter the batch run.. Cannot see the entire results at a time. Is there a easier way view everthing at same,as our batch file very large  2
I have the following Doubts Please clarify me with examples? 1.Could QTP cover entire application? or part of the application? 2.Shall we rewrite(modify) the Manual testcase to automate? 3.How can I execute my scripts through client mechine which is not having QTP installation 4.Few objects are not being identified by QTP afeter one month. what could be the reason for this (I am using trail version of 15 days) Livetek2
types of output value in details.  3
Hi All As per the requirements i have to copy the data from word document to excel sheet using the QTP Note : Data in word document is in tabular format i.e there is 80 rows and 5 columns table Can any body provide code for this ? Thanks in advance Regards Test123Test  1
How to "Turn Off" QTP results after running a Script?  2
Hello Everybody, How to maintain the page state in QTP. My scenario is: 1. I opened a notepad file. 2. Entered some text in the notepad file. 3.And changed the font type and color of the notepad file. And saved that. 4.Now next time when I will open the notepad it is showing the changed font type and color, rather than the default values. Please provide the code. Thanks, Gaytri  5
What is the extension for Recovery scenario?  2
Which company is better amdocs or techm ???  2
i have data in excel sheet.i imported the data in data table.while doing parameterization,how the code knows it is a valid or invalid data? Fiserv2
Suppose there are 100 links in a web page and the number of links will be changing dynamically from time to time. I need code such that every time i had to click on the last link of the web page. Virtusa2
what is stlc and its contents?  1
How to pass a variable in Dos Command using QTP? Eg: Dim path1, path2 path1 = "C:\Test\sample1.doc" path2 = "C:\Test\sample2.doc" How can we pass these path1 and path2 inside the "copy" dos command? I tried like this. this is not working. oShell.run "cmd /K copy" &path1 &path2  1
what are recovery management techiniques?  1
I wanted to create Data Driven test for login page (loginname,password). Password is same for all the loginnames. I recorded the script for one user. I mentioned all the user names in the global excel sheet with the column name as "Loginname". I mentioned 5 loginnames. I selected tools- >datadriver and select loginname. Select parameterize and select parameter all option.Changed the parameter name to "loginname" which i mentioned in the global excel sheet. I executed the script. For the users 2 and 4 only, the script is failing... can anybody explain why the script is failing for users 2 and 4.  2
What exactly is the difference among all the three recording modes. TCS2
hai, i am doing QTP by own. So, i am confident in checkpts,synchronization, data driven test, recovery scenarioe manager etc. but actually i don't know how all these we wil implement while we r writting code manually. when we r doing practice, while recording code is automatically generated but in real time i heard that we have to write the script.But i don't know how it is? How to write descriptive prog.? plz. tel me what r the basic things we have to know? explain how to write descriptive prog.? explain me with an example pls....... Vertex2
Associated files in QTP?  1
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com