Call Test Case and Variable

My scenario may be a little different, I’m not reading the value in from an excel file, but I’m sure the basic concept is the same.

So in Test Case A I create a variable called myVariable and give it a default value (optional I suppose). The only thing this Test Case does is output the value of that variable. In the examples below you can see where I defined the value and the output when I run the test case.

In Test Case B I’m calling Test Case A and setting the value of myVariable. Then when I run this test case you’ll see that Test Case A is outputting the value set on Test Case B, not the default value set in Test Case A.

Hope that helps; I’m actually about to start messing around with reading values in from Excel so if I come across anything I think might help you I’ll pass it along.

Later,
Steve