Hi all
I would like to create a data driven test whereby i capture some result
value (i.e an ID) during the test run, then store it in excel to be used
later by another test after the current test completes.
Typical example would be
Test Data: 5 rows in excel to iterate through
*Run test A*
- Creates 5 users
- For each iteration of user created, capture the userID (possibly write
userID to excel)
- test A completes successfully
*Run Test B* immediately after test A completes and use the stored values as
input to iterate thru (as in test A)
The tests could possible be in separate targets and i believe the property
variables would be out of scope unless i write and read from a property
file. I am also not sure how to specify config such that i can invoke an
excel file to write to.
(from excel.xml Selftests)
<steps>
<invoke url="${webtest.home}/Development/Test.xls"/>
</steps>
Resulting page -> complete url
http://localhost/c:/Webtest/Development/Test.xls (notice localhost is added
at the beginning)
Any examples or suggestion would be greatly appreciated.
Thanks
--
- Rhee
"Risk nothing and you gain nothing"