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
I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }
What is the default add-ins in qtp?
What is the script for database check point, bitmapchek point, regular expression ?
What is the qtp testing process?
There is an excel file of 1 to 100 sheets how you will iterate through it?
what is clean sweep?
Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.
Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.
hi guys, pls tell me for testing institution training hub, hitech city is best or not?
how to download mercury qtp9.2 ny internet ?
What is Cross browser testing? Does UFT support it?
what function you write to do database testing with the help of qtp?
How to add verification steps to tests?
How you can make an action as re-usable action?
is there any addin for remedy user application