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
Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?
Why script error occur in between recording in qtp?
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?
what type of run time errors you get while you ar edoing rpg program?
What is the process of synchronizing qtp and aut?
How to find array size in qtp?
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?
How many types of recording modes in qtp?
Hi, How Accessibility checkpoint in QTP can be implemented in the test script?
How does quicktest professional identifies the object in the application?
How can I find out the cursor position through QTP suppose I am keep tabbing(Pressing the tab key continuously) and stoped at a position Now I want to find out where the cursor position is
What are the differences between table and db checkpoints?
Can we use index on view?
in a web page hoe to check the dynamic links that rechabging with out using regular expressions
what difference between runtime object and text object and what property they have. whether they have same properties or different properties.