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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different recording modes?

547


why should we give deliver good quality software?

1617


I am a new tester that needs to create an automatic script involving security questions. On a webpage I need to select a security question(which are random) from a drop down menu, and then input the answer as the last word from the security question. I have the script set-up to automatically select the first security question from the drop down. The problem I am having is trying to insert the security answer. How do I insert the security answer based on the selection from the security question?

1831


Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?

1415


I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that

1380






one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.

1504


tell me abt a time when u had to go above &beyind the call of duty to get the job done

1428


please give me the code for doing retesting of gmail login page using functions so the function has to give the value

1532


What is the Command used to start the QTP

1522


any body can you help me what is the script to automate an comand promt

1963


Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("» County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma

1334


When ‘option explicit’ keyword is used in qtp?

734


Explain types of output values?

552


Explain different checkpoints in qtp.

706


what frame work you are following?

1512