This is a discussion on QTP- import Sheet - Data table within the Software Testing forums, part of the Testing category; Hi all I have recorded few application actions and i parametrised that action by using ddt functionality in QTP,data table ...
|
|||||||
| Software Testing Software testing is a process used to identify the correctness, completeness and quality of developed computer software. |
![]() |
| LinkBack | Thread Tools | Search this Thread |
|
|||
|
QTP- import Sheet - Data table
Hi all
I have recorded few application actions and i parametrised that action by using ddt functionality in QTP,data table is .xls which i will import from my local machine while executing script. while executing that scripts, always script is taking first row details only, but no.of itration are same as no.of rows which i have mentioned in data table. for example: I have mentioned data in three rows i.e one row will cover one scenario,second row will cover second scenario and third row for third scenario but my script is executing three times with first row data only, it is not taking second and third row data. pls advice whate could be the reason. |
| Sponsored Links |
|
|||
|
Quote:
Hear 1st check run time settings then check Data table column name |
|
|||
|
Quote:
How are you programming it ?? You may need to follow something like this, rowcount = Datatable.Getrowcount For i = 1 to rowcount Datatable.SetCurrentrow(i) write your code.. Next If you dont use Setcurrentrow and you have data in the subsequent rows then it will not execute according to your requriemnt. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| General Ledger – Technical | dongta_ndh | Oracle Apps | 1 | 09-10-2009 07:34 AM |
| Import EXCEL Data into QTP Global Data Table | venkata krishnamurthy t | Software Testing | 7 | 12-09-2007 11:59 PM |
| Data Modeling Tutorials | lokeshm | Data Warehousing | 0 | 04-24-2007 03:18 PM |
| [FAQ] FileMaker Pro - database for Macintosh and Windows | Martin Trautmann | Tech FAQ | 0 | 04-17-2004 08:26 AM |
| Apple II Csa2 FAQs: Telecom Hardware & Transfers, Part 20/25 | rubywand@swbell.net | Tech FAQ | 0 | 04-04-2004 08:29 AM |