I am trying to Name the rows in my data table. Each Row is an iteration of the test, so for example, Row 1 is a delivery for a Chicago plant while Row 2 is a Delivery for a Boston plant. I want to be able to identify each iteration as a unique test so I can quickly look at the data table and match each set of data with a name instead of just a number like "Row 1", "Row 2". I know you can name a Column, but does anyone know how to name a row without putting in an extra column for the "Name"?
I think this is close to what I need. What kind of value is rowvalue going to return? Here is what I am trying to do, I'm sure it's a common procedure. I have a set of actions (one test) that act as a setup procedure in order for 9 other tests to run. This first setup test has 9 iterations. Each iteration sets up the enviornment for the corresponding test. For example. Iteration 1 of the setup test creates the environment to run Test_01 while the second iteration of the setup test recreates the environment to run Test_02. My plan is to get the row value or iteration number so I can say:
If rowvalue = 1 Then
elseIf rowvalue = 2 Then
...and so on - I could probably use a case statement in place of ifelse.
Is this the way to approach my problem or is there a better way to accomplish this procedure?
I just thought of two other ways I could accomplish this but I"m not sure how to do either one.
First, I could run iterations 1 through 9 then just have each test (Test_01, Test_02 etc.) take the data values out of the row it needs.
Alternativley I could have each test (Test_01, Test_02) call the setup test and tell setup to only run a particular iteration. For instance, before Test_04 ran it would call the setup test and tell it to only run iteration #4. I'm not sure how Test_04 would know to pull data only from row #4 in the setup test though.