data driven test
I am doing a data-driven test programatically without using the automatic wizard for more flexiblity. I am using something like this.
'declare variables to be used to replace recorded values
Dim strID As String
Dim strPass As String
Dim strName As String
Open "C:\\input.csv" For Input As #1
Do While Not EOF(1)
'Read data into variables
Input #1, strID, strPass, strName
This will run till the End of File. Can I control my run here? ie, if I want to run only particular rows, say rows 1-10 or rows 5-10 something like that. Is there any function that I can use? I appreciate any help.
Re: data driven test
Thanks Alias. I wanted to know if there is any utility to handle this. I am using a form from where I can select the environment as well as control my iterations. this is all possible only because of your help. Thanks again.