how to use testcase with different context [message #1697521] |
Thu, 04 June 2015 10:43  |
Eclipse User |
|
|
|
Hi,
I create some testcase that I want to use several times with different context.
example: create_object, global_variable_context, constant_context
I have tried to create test suite but I can't associate 2 contexts
example: test suite contains | create_object with global_variable_context
| "do other testcase"
| create_object with constant_context
I know , It's psossible to use super context but If I want to do something between testcase and call again my testcase with other context,
Can I ? Have you solution?
I'm thinking about other solution but I don't it's possible to call several testcase in testcase. Yes, it's like procedure but I want to use your facility about association.
I don't if i'm clear. thanks in advance for your help.
jeremie
|
|
|
Re: how to use testcase with different context [message #1697573 is a reply to message #1697521] |
Fri, 05 June 2015 02:13  |
Eclipse User |
|
|
|
Hi Jeremie,
I believe you could try to use a Super Context of a Group type for this purpose and create ECL Script context for the actions you want to do between test cases.
So you create GroupContext1 where you place all needed contexts for the first test, then create GroupContext2 where you place ECL Context coming first and then all other contexts.
Next put both Group contexts into a SuperContext and add it to a test case.
Kind regards,
Ulyana.
|
|
|
Powered by
FUDForum. Page generated in 0.04182 seconds