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 |
Hi Everybody, Can anybody please tell me the how to display the result of the QTP in the notepad text file rather than in the QTP result window. Suppose this is my simple script:WHich will open the notepad file and enter some text and then will change the font then will calculate how much time has been taken.Now, in this script i want to display the result in notepad file. Dim s Dim starttimer,endtimer,timeit s="uyetuywqtywqte" SystemUtil.Run "notepad","","Y:\","" Window("Notepad").WinEditor("Edit").Type micCtrlDwn + "s" + micCtrlUp Window("Notepad").Dialog("Save As").WinEdit("File name:").Set "test1" Window("Notepad").Dialog("Save As").WinEdit("File name:").Type micReturn Window("Notepad_3").Type s Window("Notepad_3").WinEditor("Edit").Type micCtrlDwn + "s" + micCtrlUp starttimer=timer Window("Notepad_3").WinMenu("Menu").Select "Format;Font..." Window("Notepad_3").Dialog("Font").WinEdit ("Font:").Type "cou" + micDwn Window("Notepad_3").Dialog("Font").WinComboBox ("Font:").Select "Courier" Window("Notepad_3").Dialog("Font").WinEdit ("Font:").Set "Courier" Window("Notepad_3").Dialog("Font").WinEdit("Font:").Type micReturn endtimer=timer timeit=endtimer-starttimer print(timeit) Please also tell me where the function for the text file result will be declared and where it should be called. Thanks, Gaytri
After running scripts how you report results ,there is any specific report form
In QTP where i have to concentrate more in the Interview point of View
Did you use flatfiles in your projects?At what situation you used it?How can you upload flatfiles?
What is QTP scenario.
How we can differentiate between stand alone application and web application in QTP?
difference between do while and do until ?
Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers
My Project is HOSPITAL CONTROL SYSTEM. In this MY testing modules are In-patient and Out-patient. plz explain those modules. i.e. How explain to Interviewer. with full details also . Waht types of bugs we can fond ? NOTE : IT is a web project plz urgent.
How we can add actions in the test using QTP?
Describe the process for writing text check point for a web application?
Differences between text and test area checkpoints?