What is the diff between doing parametarisation using Data
Driven wizard or manually. when do we go for manual
para...and when do we use Data driver wizard..can anybody
answer it ..Thanks in advance
Answers were Sorted based on User's Feedback
Answer / guest
Parameterization= When you are testing your application You
may want to check how it performs the same operation with
different sets of data at that point of time we go for
parameterization example if you have a login name and
password you may want to test how the test behave with
different login names and password then you need to
parameterize the test.
You can do manual parameterization and data driven
parameterization ...Usually manual parameterization is done
when there is less data and we do data driven
parameterization is done in automated testing when we need
to test lots of data.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / sreekanth
For manualparametrisation you need to wite the Vb script
manually
see the script for flight login application
datatable.AddSheet "sree"
datatable.ImportSheet "abc.xls,sheet1,sree"
k=datatable.GetSheet("sree").getrowcount
For i=1 to k
SystemUtil.Run "C:\Program Files\Mercury
Interactive\QuickTest
Professional\samples\flight\app\flight4a.exe"
Dialog("Login").WinEdit("Agent Name:").Set datatable
("name","sree")
Dialog("Login").WinEdit("Agent Name:").Type micTab
Dialog("Login").WinEdit("Password:").SetSecure
datatable("pwd","sree")
Dialog("Login").WinButton("OK").Click
Next
for datadriver there are two ways
1.Tools->Data driver->Parametrise (in parametrise dialog you
can parametrise selected objects)
2.Go to keyword view
just there is a icon located at the corner of each object
just click on that icon there is a option like parametrize
by using tht option u can parametrise by using data driver.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / nani
Hi,
wn ever we need to test the application functionaltiy with
the different input values we can go through the
parametrization concept.
for eg u have to validate the different users.using
username and password.(for all functionaliy is same)
then u can write all the values of users in datatable and
using data driver wizard u can test easily.
but manually it will take too much time.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / bfakruddin
Sreekanth...
(if you are Sreekanth Chilam your answer is correct) else
look forward...
I think your script is not a Manual Parameterization...
Parameterization means.... Passing the data from external
source into the parameters in Script...
whether it may be from XL Sheet or DataTable... Environment
Variables...Action Parameters... Function OUtput parameters
what ever it may be...
Manual parameterization means... passing the data manually
into the Script for each iteration...
Got my point...?
by using inputbox("Enter your parameter Value")
for every iteration it asks you to pass a value into the
parameter...
Thanks & regards
Baba Fakruddin.D
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / divya pasupuleti
In web based applications doing manually parametrization is
very very difficult parametrization is nothing but testing
one content of your application with many examples and it
is a repeated process so it is very difficult to do manually
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / pall khan
if you don't know about this answer i think you better to
join another course.all the best...,
| Is This Answer Correct ? | 1 Yes | 8 No |
Explain key word driven frame work?How to use in real time?
Hi All I'm new in QTP. I'm trying to make test cases for login on Flight.exe . I have parametrise the agentname and password field. So wen wromg agent name or password is entered it show a dialog box with proper message(Like: "Wrong Password" or :Please enter Password" etc) and OK button. I have created If else block. Now my problem is i want to make checkpoint on error message Dialog box. But each time i create a checkpoint it shows same text message. So how i can check that message is there or not.
4. what is the use of Text output value in Qtp?
If QTP not recognizing using repository while executing, how can we go forward
What is difference between design time and run time data table?
How to build scripts that access data from external sources?
How to set the function parameters as optional. Pls anybody can give the answer.. Thanks in advance...
Q- what is the advantage of merging tool in QTP 9.2?
how to test background color and dynamic images during runtime
Use of environment variables?
Hi, I got some difficulties in automating a web check box in a peoplesoft application. Let me explain the scenario, When clicked on a look up button in the application, it navigates to a new page with check boxes and respective options. Below is the source code for one check box and its option. <input type='checkbox' name='H1AU_BUNDLE_WRK_H1AU_SELECT_CH$2' id='H1AU_BUNDLE_WRK_H1AU_SELECT_CH$2' tabindex='34' value="Y" onclick="this.form.H1AU_BUNDLE_WRK_H1AU_SELECT_CH$chk$2.valu e=(this.checked?'Y':'N');submitAction_win0 (this.form,this.name);" /> </td> <td align='left' class='PSLEVEL1GRIDODDROW' > <span class='PSEDITBOX_DISPONLY' >$29 - $29 Cap with FREE Mobile</span> I want to parametrize using "$29 - $29 Cap with FREE Mobile". I am not aware of how to parametrize this. Currently I am parametrizing with 'H1AU_BUNDLE_WRK_H1AU_SELECT_CH$2' Can any one please help me out with this??/
Does QTP support flat files? If yes what are those?