We encountered a problem along the following test scenario for our Silverlight application:
TestA: test the creation-process of an object which automatically receives an unique ID. Extract this ID.
TestB: find the newly created object out of a list of other objects using the extracted ID from TestA. Here we test the search and filter routine.
TestC: test editing-process of this object, part 1
TestD: test editing-process of this object, part 2
...(other tests to test the editing of this object)..
(We tried to modularize the Test Studio project as much as possible to improve exchangeability and reduce redundancy.)
Now to run all tests we are using a Test List containing all tests. Unfortunately it doesn't seem possible to pass the extracted ID from test to test within a Test List. According to the documentation, this
threads, the only solution would be
1) write the extracted data to a file (or another data source) and read from it for every test
2) use some kind of parent test which includes TestA, TestB, TestC, ... as steps and inherit the extracted data from it.
Solution 1) would be acceptable but needs some minor coding effort. Solution 2) has some disadvantages too. For example it somehow confilcts with the idea of Test Lists. (Another negative aspect is that you have to combine the storyboards from all sub-tests into a single one if you wish to have screenshots included in the test documentation.)
So, it would be really nice to avoid these "work-arounds" if the extracted data is globally available during the execution of tests in Test Lists. From our point of view, this would be the cleanest, easiest and fastest solution.
Are we missing something?
Is this feature planned for future releases?