How to execute an specific test numerous times - each with a different set of data e.g. adresses [message #905906] |
Fri, 31 August 2012 09:41 |
|
Hello Jubula Fans,
I'm looking forward to generate a great number of test data sets, e.g. data on persons characterized by adresses consisting of very different data fields. I plan to test whether those data sets are corrupt and how the AUT handle correct and corrupt data input. How can this be done with Jubula.
My currently single idea is the following:
1. Create a test case and a test suite with a single data set that succeeds test execution
2. Export project in xml
3. Replace test data in the xml automatically by a special script
4. Import the modified xml file as new project version
5. Execute the new version.
However, there must be more elegant way, or not?
Hopefully expecting useful suggestions,
Reik
|
|
|
|
|
|
|
|
|
|
Re: How to execute an specific test numerous times - each with a different set of data e.g. adresses [message #911254 is a reply to message #911239] |
Tue, 11 September 2012 08:45 |
|
I have a test case that validates a dialog message and is executed twice in my suite. These two simelar tests are using data read from a central data set. For this data set defined in the "Central Test Data" editor, two concrete value sets are defined in the "Data Sets" view.
Now what happens:
1. dialog opens
2. dialog validation loops for the two value sets
3. dialog closes
4. steps 1-3 are repeated
What I really want is
1. dialog opens
2. dialog validation with first value sets
3. dialog closes
4. dialog opens
5. dialog validation with second value sets
6. dialog closes
My final aim is adding concrete data (value sets) only without adding a new test case to my suite and Jubula loops automatically the whole test case - not only one step. How can this be done?
Thank you for any help!
|
|
|
|
Powered by
FUDForum. Page generated in 0.05004 seconds