Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » [AGR] Passing variables to AGR
[AGR] Passing variables to AGR [message #112250] Wed, 12 September 2007 14:16 Go to next message
Eclipse UserFriend
Originally posted by: joel_patterson.verizon.net

Is there any way to pass a system variable to an AGR recording? I want
to be able to pass the location of a project to an AGR recording and
have it import that project, then run some tests (which would be similar
across all the projects).

I can't really use a datapool because the location of the projects vary
across our testing framework. So, if I could define the location in a
variable and then leverage that variable in the test that would be perfect.

Possible?

Thanks!
Re: [AGR] Passing variables to AGR [message #112969 is a reply to message #112250] Thu, 20 September 2007 21:23 Go to previous message
Liz Dancy is currently offline Liz DancyFriend
Messages: 77
Registered: July 2009
Member
Hi Joel,

There is a set of pre-defined variables that you can link to the behaviour
of your test suite by selecting the Behaviour Tab and then associating the
text you entered during recording with one of these variables.

For example, when you record your test case, you can type in the location of
the project for the recording.

Once you wish to play it back in standard mode, you can add the test case in
the behaviour tab and then select the invocation and select the input you
wish to link to a variable in the right-hand table. Next, select 'Link To
Custom Input'.

There is a dropdown which contains two variables. One points to the project
location of the test suite and the other to the workspace location of the
context workbench.

Hopefully one of these is what you are looking for.

Sincerely,

Liz Dancy

You can select link to
"Joel Patterson" <joel_patterson@verizon.net> wrote in message
news:fc8sc7$r47$1@build.eclipse.org...
> Is there any way to pass a system variable to an AGR recording? I want
> to be able to pass the location of a project to an AGR recording and have
> it import that project, then run some tests (which would be similar across
> all the projects).
>
> I can't really use a datapool because the location of the projects vary
> across our testing framework. So, if I could define the location in a
> variable and then leverage that variable in the test that would be
> perfect.
>
> Possible?
>
> Thanks!
Previous Topic:TPTP runs with VPN and Proxy ?
Next Topic:IWAT0284E error
Goto Forum:
  


Current Time: Fri Apr 26 15:15:05 GMT 2024

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

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

Back to the top