[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tptp] Re: [AGR] Passing variables to AGR

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@xxxxxxxxxxx> wrote in message 
news:fc8sc7$r47$1@xxxxxxxxxxxxxxxxxxxx
> 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!