AGR is fun! [message #91787] |
Thu, 25 January 2007 13:01  |
Eclipse User |
|
|
|
Originally posted by: martin.ahlin.hotmail.com
Hi,
I have recently started to play with AGR, Fun!. I have added datapool
entries to drive my testes more dynamicly. Works fine.
But the recorder does not identifies the items that I would like to be
dynamic. In the example attached I simply created a
file (LocalFile.log) in the project named APX1. The LocalFile.log name is
easy to change using datapool, but how can I make the same dynamic
entry for the project name???? Add CDATA somewhere!? But how?
<shell descriptive="New File" id="org.eclipse.jface.wizard.WizardDialog"
return-code="0">
<command descriptive="APX1" type="item-select"
contextId="wizard-page/newFilePage1"
widgetId="org.eclipse.swt.widgets.Tree#1">
<item path="{{/APX1}}-{{1.0}}"
resolverId="org.eclipse.tptp.test.auto.gui.adaptive"/>
</command>
<command type="modify"
resolverId="org.eclipse.tptp.test.auto.gui.nontrivial"
contextId="wizard-page/newFilePage1" widgetId="File name:">
<![CDATA[LocalFile.log]]>
</command>
<command descriptive="Finish" type="select"
resolverId="org.eclipse.tptp.test.auto.gui.adaptive" contextId="wizard"
widgetId="{{16}}-{{1.0}}"/>
</shell>
</shell>
</macro>
Any ideas/help appreciated
/M
|
|
|
|
|
Re: AGR is fun! [message #92322 is a reply to message #91787] |
Tue, 06 February 2007 13:33  |
Eclipse User |
|
|
|
Originally posted by: jekutsch.inf.fu-berlin.de
Hi Martin, Hi all,
hmm, did you manage to loop over all rows in a datapool? All I can currently
do is defining a new invocation of a test case in the behavior definition
for each single datapool row individually. I thought it to be a feature to
Loop over each entry in an equivalence class of (or the whole of) a
datapool.
Any ideas?
Sebastian
"Martin" <martin.ahlin@hotmail.com> wrote in message
news:epar9m$tbk$1@utils.eclipse.org...
> Hi,
>
> I have recently started to play with AGR, Fun!. I have added datapool
> entries to drive my testes more dynamicly. Works fine.
> But the recorder does not identifies the items that I would like to be
> dynamic. In the example attached I simply created a
> file (LocalFile.log) in the project named APX1. The LocalFile.log name is
> easy to change using datapool, but how can I make the same dynamic
> entry for the project name???? Add CDATA somewhere!? But how?
>
>
> <shell descriptive="New File" id="org.eclipse.jface.wizard.WizardDialog"
> return-code="0">
> <command descriptive="APX1" type="item-select"
> contextId="wizard-page/newFilePage1"
> widgetId="org.eclipse.swt.widgets.Tree#1">
> <item path="{{/APX1}}-{{1.0}}"
> resolverId="org.eclipse.tptp.test.auto.gui.adaptive"/>
> </command>
> <command type="modify"
> resolverId="org.eclipse.tptp.test.auto.gui.nontrivial"
> contextId="wizard-page/newFilePage1" widgetId="File name:">
> <![CDATA[LocalFile.log]]>
> </command>
> <command descriptive="Finish" type="select"
> resolverId="org.eclipse.tptp.test.auto.gui.adaptive" contextId="wizard"
> widgetId="{{16}}-{{1.0}}"/>
> </shell>
> </shell>
> </macro>
>
> Any ideas/help appreciated
>
> /M
>
|
|
|
Powered by
FUDForum. Page generated in 0.05747 seconds