How to create data driver wizard in QTP and how to make a regular expression?

Questions by santoshkumar pvh   answers by santoshkumar pvh

Showing Answers 1 - 4 of 4 Answers

Hima Bindu

  • Jul 24th, 2006
 

Actually we use data driven wizard in Winrunner. Data driven wizard includes excel sheets, MS word etc. But in QTP the datasheets are available on the bottom of the software. so noneed of data Driven wizard option. if i am wrong correct me

  Was this answer useful?  Yes

Priyank Vyas

  • Apr 13th, 2007
 

In QTP Data Driven wizard is available in

Tool->Data Driven Wizard

When no script is recorded "Data driven wizard " is disable. Purpose of Data Driven testing is parameterize our test so we can
repetitively perform our test.

We can parameterize our test in both views (i) Keyword (ii) expert

In keyword view only
(I)
Select the field you want paqrameterize,
(II) Right click on it ,select parameter in place of "constant"
(III)
Select data-table and then global test sheet
(IV) Give column name in "Data Table" by pressing "modify"

That will create column into
your data-table and as many valid value you will give it will perform test.


From expert view -

(I)
Select Tool->Data Driver wizard
(II) In this all the fields will be shown to you
(III)
Select "parameterize" button
(IV) Select "step -by-step" and press next
(V)
It will show all the field select the field you want to parameterize and create column in "Data Table"
(VI)
Select data-table and then global test sheet
(VII) Give column name in "Data Table" by pressing "modify"

It will create data driven test

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions