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                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
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
How many types of Parameters are available in QTP? and Pls
Explain with example.
 Question Submitted By :: SuhasAirody
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How many types of Parameters are available in QTP? and Pls Explain with example.
Answer
# 1
You can use the parameter feature in QuickTest to enhance 
your test or component by parameterizing the values that it 
uses. A parameter is a variable that is assigned a value 
from an external data source or generator. 

You can parameterize values in steps and checkpoints in 
your test or component. You can also parameterize the 
values of action parameters. 

If you wish to parameterize the same value in several steps 
in your test or component, you may want to consider using 
the Data Driver rather than adding parameters manually. 

There are four types of parameters: 

Test, action or component parameters enable you to use 
values passed from your test or component, or values from 
other actions in your test. 
 In order to use a value within a specific action, you must 
pass the value down through the action hierarchy of your 
test to the required action. You can then use that 
parameter value to parameterize a step in your test or 
component. 

For example, suppose that you want to parameterize a step 
in Action3 using a value that is passed into your test from 
the external application that runs (calls) your test. You 
can pass the value from the test level to Action1 (a top-
level action) to Action3 (a child action of Action1), and 
then parameterize the required step using this Action input 
parameter value (that was passed through from the external 
application). 

 Data Table parameters enable you to create a data-driven 
test (or action) that runs several times using the data you 
supply. In each repetition, or iteration, QuickTest uses a 
different value from the Data Table.
For example, suppose your application or Web site includes 
a feature that enables users to search for contact 
information from a membership database. When the user 
enters a member's name, the member's contact information is 
displayed, together with a button labelled View <MemName>'s 
Picture, where <MemName> is the name of the member. You can 
parameterize the name property of the button so that during 
each iteration of the run session, QuickTest can identify 
the different picture buttons. 

Environment variable parameters enable you to use variable 
values from other sources during the run session. These may 
be values you supply, or values that QuickTest generates 
for you based on conditions and options you choose.
For example, you can have QuickTest read all the values for 
filling in a Web form from an external file, or you can use 
one of QuickTest's built-in environment variables to insert 
current information about the machine running the test or 
component. 

Random number parameters enable you to insert random 
numbers as values in your test or component. For example, 
to check how your application handles small and large 
ticket orders, you can have QuickTest generate a random 
number and insert it in a number of tickets edit field.
 
Is This Answer Correct ?    6 Yes 2 No
Saikrishna Reddy.k
 
  Re: How many types of Parameters are available in QTP? and Pls Explain with example.
Answer
# 2
Thank you  Saikrishna Reddy. I know there are 4 types but I
used only variable through Data Table. 
I will try other 3 in the script. Thanks a lot once again.
 
Is This Answer Correct ?    2 Yes 1 No
SuhasAirody
[Unisoft India Pvt Ltd]
 
 
 
  Re: How many types of Parameters are available in QTP? and Pls Explain with example.
Answer
# 3
A parameter is avariable that is assigned a value from an 
external data source or generator.You can parameterize 
values in steps and checkpoints in your test or component. 
You can also parameterize the values of action parameters.
There are four types of parameters:

1. Test, action or component parameters
2. Data Table parameters
3. Environment variable parameters
4. Random number parameters
 
Is This Answer Correct ?    2 Yes 1 No
Shankar
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
Is there any site to download QTP....otherwise tell me the way how to get the QTP sofware??????????????????? Thnx in advance Cegonsoft5
How to execute the test cases using QTP. i.e What is the use of QTP while execution  2
Hi All I am installing QTP 8.0/8.2 in my office desktop (WIN XP) but it is not working. Inspite Installion is succesfully done but when i open qtp from programs it opens only first screen of add-in and after that it disappears. But in my other computer at home (winxp) it is working fine. Can you please give the reason, why it is not working in office desktop. DEEPAK SINGH Satyam4
QTP 9.2, Issue: Creating Shared Object repository. I recorded 2 scripts. I exported the Object Repository to a shared location for the first script. Associated the exported repository to the first script and deleted the Local Repository for the First Script. Now Opened the Second script and try to Add the Local Object Repository of 2nd Script to Exported Object Repository. But I fail. Can anyone please help in providing steps that need to be followed in creating a shared object repository? Thanks in Advance. UHG3
Explain types of exception handling and script for that?  1
Will QTP gets installed on virtual PC.What is the maintenance number to be given  1
how quick test record on dynamically generated urls and web pages. Infosys2
in howmany ways you perfrom batchtesting Lehman-Brothers5
IS standard check point is very important than the other check points in QTP? If so why?  4
Hi to All, My name is Aditya, i have 4 year exp in software testing (Manual Testing), but i try to shift my career now in automation testing. right now i have no exp or u can say i am not hand exp in live application. So please guide me, what i do ???? Can i join again automation course only practical which is live application. if u know any person who's expert in qtp and he/she ready to take my class i have our own and company laptop. If required i will pay amount please don't mind. Please help me, and i am also planing to join core java from coming 1st Aust (in seed) for only purpose the understanding script of Automation (QTP)... Please help me... I am waitting u r replay... Thank you Thanks again  4
What are the Automation Limitations??  1
If there r 1000 test scripts that were written. If a change to any functionality is to be made then how can we know in which script is this functionality existing. iGate2
How to call .vbs funtion , Library files in QTP? plz Explain indetail(chandana) Wipro4
In one of the scripts the pwd in the DT was encripted. Can any one tell me how to I decript or undo the same? BirlaSoft2
Can we directly start working with QTP without any knowledge on WinRunner? (After getting trsining on QTP)  1
How the exception handling can be done using QTP  5
Hi I am new to QTP. we are planning to implement automation for the application. I am trying to execute the following script: Set ExcelObj=CreateObject ("Excel.Application") ExcelObj.WorkBooks.Add Set NewSheet=ExcelObj.Sheets.Item(1) NewSheet.Name="Order" ExcelObj.Cells(1, 1).Value = "Name" ExcelObj.Cells(1, 2).Value = "Ordernum" ExcelObj.Cells(2, 1).Value = "nam" ExcelObj.Cells(2, 2).Value = "21" ExcelObj.ActiveWorkbook.SaveAs "c:\test1.xls" ExcelObj.Quit Set ExcelObj = Nothing in the above script for the line(ExcelObj.Cells(2, 2).Value = "21") it is inserting the value 21 successfully.this is fine But if i want to insert a variable instead of the constant value then what should be the modification in the script. For example: If user retrives a value throug "GetRoProperty" and wants to insert the value into then how the script changes?  1
How to load object properties to object repository through scripting.give one example IBM6
anyone can explian about types of "Triggere Events" in QTP  1
Can we add the function library directly from scripting in qtp instead of adding from resource tab? IBM3
 
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