How we wil do data driven test using chkpts?
Plz. give me complete navigation steps for this?



How we wil do data driven test using chkpts? Plz. give me complete navigation steps for this?..

Answer / nath .t

Data Driven Test Means we can test application with
multiple test data. there are 3 types of ddt.

1. Dynamic Data Submission
2. Data Table
3. From Front Grids

1. Dynamic Data Submission: Here ur interaction is there
at the time of test execution. u follow below steps

un = inputbox("Enter the user name")

here un is variable to store the user name

u can give the variable where u want to insert

(i.e., window("login").winedit("user name").set un)


2. Data Table: We can send data from excel sheet here ur
interaction is not here.

u must take the value from data table. u follow below
navigation.

Navigation: Goto KeyWord View
where u want parameterize u Select Value column of that
object
press right corner of that select column it will shows
value properties dialog box here u can select Parameter
option and take Datatable option and select required
parameter.
(i.e., window("login").winedit("user name").set datatable
("username","dtGlobalSheet"))

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More QTP Interview Questions

How we can use the database checkpoint on a java web based application in which the database connectivity is done using JDBC->Pure Java type (in this type there is no need to create a DSN). At present in QTP we can fetch database values using checkpoint only through DSN. Is there any programming for this if we don't have DSN (ODBC)

0 Answers   LinkEdge,


How can we disable smart identification at the time of recording? Ideally, smart identification should be enabled only at the run-time.

3 Answers  


How can i count "spaces" in any sentence or a string if suppose " It is a Testing question" Here we have 4 gaps(spaces) Is there any function to find out spaces between words

5 Answers   iGate, Livetek,


1. How to capture data from images in QTP and produce them in Excel sheet

1 Answers   Broadridge,


Hi All, I wanted know how does QTP identifies a DataCombo. While recording I clicked on the data combo and selected a value from the list. The click of Data Combo is recorded but the selection of the value from the list is not recorded. My application is based on VB and SQL server as the database. Please let me know as how do I record the action of selecting a value from a DataCombo list. The list is being loaded from the Database Record set.

0 Answers  


What are the common defects found in your project? (in qtp interview)

0 Answers   TCS,


If there are 10 notepads opened on desktop. how can we close a particular 2nd notepad using script

3 Answers  


what is stepin & stepout?

0 Answers  


It is very difficult to test in manual for that we go to DATA DRIVEN TEST.

3 Answers  


How to write business scripts using object repository with different scenarios

0 Answers  


when i am running login page i got test run error? Please give me the script to handle run time exceptions. It's urgent for me.

4 Answers  


What scripting language QTP of?

4 Answers  


Categories