Hi,
I have this little issue, that I don't know how to change rows in my data driven test..
There is my example:
1. Navigate to SL application
2. Loop 2 times
2.1 Fill username textbox - DataDriven: [$(username)]
2.2 FIll password textbox - DataDriven: [$(password)]
3. Click OK button
Excel file contains 2 columns called username and password. The excel sheet look like this:
username password
automat automat
robot robot
And my problem is, when I run my test, the loop section fill textboxes only with automat - automat 2 times.. Shouldn't it to skip to second row and fill it with robot - robot on second iteration?
My code look like this:
http://dl.dropbox.com/u/96981414/dd.jpg
thanks for advice!
I have this little issue, that I don't know how to change rows in my data driven test..
There is my example:
1. Navigate to SL application
2. Loop 2 times
2.1 Fill username textbox - DataDriven: [$(username)]
2.2 FIll password textbox - DataDriven: [$(password)]
3. Click OK button
Excel file contains 2 columns called username and password. The excel sheet look like this:
username password
automat automat
robot robot
And my problem is, when I run my test, the loop section fill textboxes only with automat - automat 2 times.. Shouldn't it to skip to second row and fill it with robot - robot on second iteration?
My code look like this:
http://dl.dropbox.com/u/96981414/dd.jpg
thanks for advice!