Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » AGR : using loop with DataPool
AGR : using loop with DataPool [message #85344] Mon, 16 October 2006 11:29 Go to next message
Mayank is currently offline MayankFriend
Messages: 5
Registered: July 2009
Junior Member
Hi,
I record a test case using the AGR (say the 'Create Java Project'
example), what I want is to create an arbitrary number of such projects
using a loop. The only user input text in this case is the name of the
Java project to be created. I want to put 'n' names in a datapool and pick
up the 'i'th name from the datapool for the corresponding loop invocation.
If this a valid use case, how do I go about it?

Cheers,
Mayank
Re: AGR : using loop with DataPool [message #85359 is a reply to message #85344] Mon, 16 October 2006 14:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nmehrega.ca.ibm.com

This is a multipart message in MIME format.
--=_alternative 004ED44485257209_=
Content-Type: text/plain; charset="US-ASCII"

Sure, it seems like a valid use case. You create the test case once,
specify it as many times as you like under the behavior pane. For each
entry in the behavior pane, link it to the data pool entry you like.

I don't think there's an easy way to link the ith iteration of the test
case with the ith entry in the datapool. You have to "manually" link the
user data for each behavior instance to the datapool entry.

Navid Mehregani
--=_alternative 004ED44485257209_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Sure, it seems like a valid use case.
&nbsp;You create the test case once, specify it as many times as you like
under the behavior pane. &nbsp;For each entry in the behavior pane, link
it to the data pool entry you like.</font>
<br>
<br><font size=2 face="sans-serif">I don't think there's an easy way to
link the ith iteration of the test case with the ith entry in the datapool.
&nbsp;You have to &quot;manually&quot; link the user data for each behavior
instance to the datapool entry.</font>
<br>
<br><font size=2 face="sans-serif">Navid Mehregani</font>
--=_alternative 004ED44485257209_=--
Re: using loop with DataPool [message #85448 is a reply to message #85344] Tue, 17 October 2006 14:55 Go to previous message
No real name is currently offline No real nameFriend
Messages: 404
Registered: July 2009
Senior Member
Navid is right. There are no convenient ways of linking user inputs of a
looped test invocation with the i-th row of a variable. The user is
currently required to manually link each input of the test invocation. Feel
free to open an enhancement for this to be considered in the future.

Thanks,
Ali Mehregani

"Mayank" <mayank1983@gmail.com> wrote in message
news:d1b1bb62c4161c30146c33f20f883ea1$1@www.eclipse.org...
> Hi,
> I record a test case using the AGR (say the 'Create Java Project'
> example), what I want is to create an arbitrary number of such projects
> using a loop. The only user input text in this case is the name of the
> Java project to be created. I want to put 'n' names in a datapool and pick
> up the 'i'th name from the datapool for the corresponding loop invocation.
> If this a valid use case, how do I go about it?
>
> Cheers,
> Mayank
>
Previous Topic:Associating Analysis types with Data collectors
Next Topic:Can the probekit change the method param,how to ?
Goto Forum:
  


Current Time: Fri Mar 29 05:17:13 GMT 2024

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

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

Back to the top