In TPTP AGR, how to send paramenters to the drop down menu [message #84693] |
Mon, 02 October 2006 02:47  |
Eclipse User |
|
|
|
Originally posted by: achalasj.yahoo.com
Hi,
I am using AGR and I am trying to edit the drop-down menu part of the
macro. There are two drop-down menus on a particular page, one is for
Product Edition and another for Target Architecture. There are "n" number
of product editions and "n" number of target architectures and each
product edition should be tested on all("n") the target architectures. How
should I do that? Manually recording the tests for all the combinations is
very difficult.
<command descriptive="Product Edition .." type="choice-select"
contextId="wizard-page/ImportExecutableWizardEditionAndBinaryPathPage "
widgetId="org.eclipse.swt.widgets.Combo#1" choiceId="item#1"/>
<command descriptive="Target Architecture" type="choice-select"
contextId="wizard-page/ImportExecutableWizardEditionAndBinaryPathPage "
widgetId="org.eclipse.swt.widgets.Combo#2" choiceId="item#1"/>
Can I read from a file? If so, how should I do that? Are there any other
options?
Thanks,
Achala.
|
|
|
Re: In TPTP AGR, how to send paramenters to the drop down menu [message #84875 is a reply to message #84693] |
Wed, 04 October 2006 12:15  |
Eclipse User |
|
|
|
Hi Achala,
You can't parameterize the choice id attribute of a choice-select command.
However, you can copy and paste the choice-select commands n^2 times and
change the choiceId attribute to cover all possible item combinations.
"Achala" <achalasj@yahoo.com> wrote in message
news:458979c14ebcb8aa8bf30eea23ef4f60$1@www.eclipse.org...
> Hi,
>
> I am using AGR and I am trying to edit the drop-down menu part of the
> macro. There are two drop-down menus on a particular page, one is for
> Product Edition and another for Target Architecture. There are "n" number
> of product editions and "n" number of target architectures and each
> product edition should be tested on all("n") the target architectures. How
> should I do that? Manually recording the tests for all the combinations is
> very difficult.
> <command descriptive="Product Edition .." type="choice-select"
> contextId="wizard-page/ImportExecutableWizardEditionAndBinaryPathPage "
> widgetId="org.eclipse.swt.widgets.Combo#1" choiceId="item#1"/>
>
> <command descriptive="Target Architecture" type="choice-select"
> contextId="wizard-page/ImportExecutableWizardEditionAndBinaryPathPage "
> widgetId="org.eclipse.swt.widgets.Combo#2" choiceId="item#1"/>
>
> Can I read from a file? If so, how should I do that? Are there any other
> options?
>
> Thanks,
> Achala.
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.08248 seconds