AGR is fun! [message #91787] |
Thu, 25 January 2007 18: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 #91859 is a reply to message #91817] |
Sat, 27 January 2007 09:32 |
Eclipse User |
|
|
|
Originally posted by: martin.ahlin.hotmail.com
Hi and thanks for answer!
Its good that there exists a "work around" for the problem I encountered.
But AGR would be soo much better if one could actually replace any of the
user selected objects/items in the UI
If this is technically possible (?) it is defintily something that will
make AGR even more useful.
BR
M
"Liz Dancy" <lizdancy@ca.ibm.com> skrev i meddelandet
news:epd40m$26u$1@utils.eclipse.org...
>I have taken a look at your Macro and I see that you are selecting "APX1"
>as the project name from the tree of available projects. In order to link
>this value to a datapool, try entering the parent project name "APX1" in
>the text field instead of selecting it from the tree of available projects.
>This way, you will be able to link the CDATA generated to your datapool in
>the same way you linked the file name.
>
> Please let me know if you have additional questions.
>
> Sincerely,
>
> Liz Dancy
>
> "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
>>
>
>
|
|
|
Re: AGR is fun! [message #92322 is a reply to message #91787] |
Tue, 06 February 2007 18: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.05590 seconds