How to get data from excel sheet to the script? write the
script.

Answer Posted / rao' prasad

DataTable.Import("xlsheetname.xls")
For i=1 to DataTable.GetRowCount step 1
DataTable.SetCurrentRow(i)
........................................
.......................................
Stmts
......................................
...................................
DataTable.SetNextRow
Next

Is This Answer Correct ?    4 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between development and testing

2384


can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process

1285


How you know that a test case is a regression test case

3059


Mention what are the different types of recording modes in qtp? Which will be used when?

559


terminal services client

1788






how to test Web application using QTP software

1567


If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?

583


Do you know how to connect database? Can you tell me the procedures?

551


Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?

1862


Is QTP supports Unix. If yes, then how the test automation is done?

1728


How do you convert manual test cases to automated test cases?

583


Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?

2141


What are the benefits of quick test pro(qtp)?

559


what is description object?

1596


For which type of projects the iterative model is not suitable?

1435