Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » how to use testcase with different context
how to use testcase with different context [message #1697521] Thu, 04 June 2015 14:43 Go to next message
jeremie gr is currently offline jeremie grFriend
Messages: 41
Registered: June 2015
Member
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 06:13 Go to previous message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
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.
Previous Topic:how to use item without give full path
Next Topic:Cannot launch AUT
Goto Forum:
  


Current Time: Mon Sep 23 08:11:43 GMT 2024

Powered by FUDForum. Page generated in 0.05444 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top