QTP using datatable
I have the following problem:
I am using a Main.test fromwhich i call to 2 other tests. The other test are Login.test and SearchBankaccount.test
In Login.test i have specified "Username" and "Password" in the datatable.
In SearchBankaccount.test i have specified "Bankaccountnumber".
Now, in Main.test i would like to specify which rows(in the datatable) to run in SearchBankaccount.test and Login.test.
for example: i would like to run row #2 from Login.test, and row #5 from SearchBankaccount.test.
I tried to set the iteration of Login.test in "Action call properties" to "run from row 2 to row 2" and the iteration of SearchBankaccount.test in "Action call properties" to "run from row 5 to row 5". This however doesn't work.
Does anyone know how i can solve this problem? [img]/images/graemlins/confused.gif[/img] [img]/images/graemlins/confused.gif[/img] [img]/images/graemlins/confused.gif[/img]
Thanks in advance!
Re: QTP using datatable
Global sheet controls Action iteractions,
Local sheet can be managed according your needs: to set specifique row in it, to run particular rows in the loop and so on.
Put the Data into Local DataTable sheet and switch the rows you want to run programatically.
For more detailed instruction - look @ QTP HELP