Wyland,
I guess, you are using the Data Loop operation in your keyword test. This operation works with one sheet only. It takes a record from the sheet, then execute operations in the loop body (they are displayed as child operations in the test editor), then takes the next record, executes operations in the loop body and so on. The operation continues these steps until it goes through all the records in the specified scope ("from 1 to 10", or "from beginning to end").
It's difficult to understand what is going wrong without looking at your test. :-) As far as I understand you, you have one data loop in your keyword test and two Excel sheets. Two situations are possible:
* Your test takes only one value from Sheet 1 and only one value from Sheet 2.
In this case, most likely, the operations which simulate user actions are not within the loop body (see the attached image).
To fix the problem, include the operations to the loop body. To do this, select these operations in the test editor (you can use Ctrl- or Shift-click for multiselection) and click the green "right arrow" button on the editor's toolbar.
After you moved the operations, please copy data from Sheet 2 to Sheet 1 in your Excel file and change your test, so that it works with one sheet only.
* Your test goes through one sheet while another sheet "remains" at the same position.
This happens because one data loop goes through one sheet only. It does not move the cursor in the other sheet, so the latter "remains" on the first record. To solve the problem, I'd suggest that you move data from your Sheet 2 to Sheet 1 (simple copy/paste columns in the Excel), so all the test data resides on the same sheet. After you do this, change your test commands so that they use the DB Table variable that provides connection to the appropriate sheet.
Note that it's possible to use two sheets in the test, but this requires adding extra commands to your test (or writing script code). Moving data between sheets and modifying existing operations seems to be an easier solution.