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
Answer Posted / 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 |
Post New Answer View All Answers
What is checkpoints for quicktest professional (qtp)?
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
distinguish between old version and new version QTP features.
how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me
What does mean by Scope of Automation?n How we defined it?
What are the different types of recovery operation?
Explain how Does Run time data (Parameterization) is handled in QTP?
Explain sub procedure of vbscript.
What are the different kinds of test steps?
Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?
What are the various types of Actions in UFT?
What is the use of running the scripts in Hidden-mode in UFT?
What are the general steps involved in the data driven framework?
How to run a test using quicktest professional (qtp)?
i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework