|
|
|
[
Permlink
| « Hide
]
Alister Scott - 08/Jun/06 06:51 PM
I have been thinking more about this, and it would be more appropriate to create a copy of the datasheet in the results folder with the values that have been written back, rather than writing back to the input file.
Is this being considered for a future version of WET?
If you look at a commercial web scripting tool such as Quick Test Pro, it allows you to write back values to the datasheet. It does this by creating a 'runtime' version of the datasheet and reading/writing values to it (it stores this in a unique results directory).
The reason this is needed is creating system or scenario test cases that have multiple steps defined in rows in a data sheet. For example - Item - Function - Input - Output 1 - Register Person - Joe Smith - (PersonID) 2 - Add Address to Person - PersonID - (Address ID) 3 - Cancel Person - PersonID - (CancellationRef) PersonID is captured as output from Item 1 and used as input for Items 2 and 3. Address ID is captured as output from Item 2 CancellationRef is captured as output from Item 3 When running this test, all output items would be displayed in data sheet showing the actual result of running the test. I currently have implemented this functionality but I do this by creating a global hash table to store output values and use them later. I create a run time comma delimted text file as an output file for each test run. |
|||||||||||||||||||||||||||||||||||||||||||||||||||