Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » AGR is fun!
AGR is fun! [message #91787] Thu, 25 January 2007 18:01 Go to next message
Eclipse UserFriend
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 #91817 is a reply to message #91787] Fri, 26 January 2007 14:41 Go to previous messageGo to next message
Liz Dancy is currently offline Liz DancyFriend
Messages: 77
Registered: July 2009
Member
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 #91859 is a reply to message #91817] Sat, 27 January 2007 09:32 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:oracle 10gas web app memory profile
Next Topic:Probekit - Showing ObjectID
Goto Forum:
  


Current Time: Tue Mar 19 05:00:56 GMT 2024

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

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

Back to the top