Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » In TPTP AGR, how to send paramenters to the drop down menu
In TPTP AGR, how to send paramenters to the drop down menu [message #84693] Mon, 02 October 2006 06:47 Go to next message
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 16:15 Go to previous message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
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.
>
>
>
Previous Topic:Customize column in Log View?
Next Topic:Trying to send data to the drop-down menu
Goto Forum:
  


Current Time: Tue Sep 30 13:54:49 GMT 2014

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

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