Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » Data Set as one Parameter
Data Set as one Parameter [message #1696526] Wed, 27 May 2015 06:01 Go to next message
Dominik Gabriel is currently offline Dominik GabrielFriend
Messages: 113
Registered: June 2013
Senior Member
Hi there,

my situation is:
i'm having a test case a including some steps and cases and case b. i just want to reuse case a but my problem is that case b sould be parametrized with a data set and has to be run different times depending where i wanna use it.

maybe someone could help me, otherwise i have to copy case a each time i need it and change the data set of case b inner the copy of case a (thats the way i am doing right now)

Sincerely
Dominik
Re: Data Set as one Parameter [message #1696528 is a reply to message #1696526] Wed, 27 May 2015 06:15 Go to previous messageGo to next message
Oliver Goetz is currently offline Oliver GoetzFriend
Messages: 219
Registered: May 2011
Senior Member
Hi Dominik,

have you tried to use Central Data Sets and to maybe use the getCentralTestDataSetValue function?
Regards
Oliver
Re: Data Set as one Parameter [message #1696529 is a reply to message #1696528] Wed, 27 May 2015 06:23 Go to previous messageGo to next message
Dominik Gabriel is currently offline Dominik GabrielFriend
Messages: 113
Registered: June 2013
Senior Member
Hey Oliver,

i don't really understand how a central dataset would help here. Maybe u can explain how it could look like. i thought also this function will just return one value.

i just wanna use case a and it should look like:

case a
|----case x
|----case y
|----case b (n times with a dataset)
|----case z

n and the dataset differs each time i use case a
Re: Data Set as one Parameter [message #1696698 is a reply to message #1696529] Thu, 28 May 2015 05:49 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi Dominik,

So your question is how to have a reused Test Case being executed a different number of times with different data depending on when you use it?

I'll have to ask around whether there's a way of modelling this.

Best regards,
Alex

Re: Data Set as one Parameter [message #1696699 is a reply to message #1696698] Thu, 28 May 2015 05:52 Go to previous messageGo to next message
Dominik Gabriel is currently offline Dominik GabrielFriend
Messages: 113
Registered: June 2013
Senior Member
yep you're right. depending on the parameters i set on case a.
Re: Data Set as one Parameter [message #1696795 is a reply to message #1696699] Thu, 28 May 2015 15:03 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi Dominik,

I asked around, and I don't think that this can be done.*

For the cases you have, I think you'll have to model your test such that you reuse the individual test cases.

Best regards,
Alex

* in any reasonable way. There may be some way of managing it, but it's not known to me, and it would likely involve some 'interesting' workflows.
Re: Data Set as one Parameter [message #1696855 is a reply to message #1696795] Fri, 29 May 2015 05:41 Go to previous messageGo to next message
Dominik Gabriel is currently offline Dominik GabrielFriend
Messages: 113
Registered: June 2013
Senior Member
Hi Alex,

Thanks for your efforts. Maybe it would be an useful enhancement for a future version of Jubula to give a dataset of a single parameter to a case or make it possible to set the name of a central dataset as a parameter.

Thank you very much
Dominik
Re: Data Set as one Parameter [message #1697168 is a reply to message #1696855] Tue, 02 June 2015 07:18 Go to previous messageGo to next message
Oliver Goetz is currently offline Oliver GoetzFriend
Messages: 219
Registered: May 2011
Senior Member
Hi Dominik,

feel free to enter an Enhancement ticket at our Jubula Bugzilla.
Regards
Oliver
Re: Data Set as one Parameter [message #1697744 is a reply to message #1697168] Mon, 08 June 2015 05:39 Go to previous message
Dominik Gabriel is currently offline Dominik GabrielFriend
Messages: 113
Registered: June 2013
Senior Member
i added an entry. you can find it here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=469582

Regards
Dominik

[Updated on: Mon, 08 June 2015 05:39]

Report message to a moderator

Previous Topic:ERROR AUT could not be started, because no valid Java JRE was specified
Next Topic:Testexec cannot run AUT with relative path
Goto Forum:
  


Current Time: Mon Mar 04 19:46:32 GMT 2024

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

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

Back to the top