Trying to send data to the drop-down menu [message #84784] |
Tue, 03 October 2006 14:49  |
Eclipse User |
|
|
|
Originally posted by: achalasj.yahoo.com
Hi,
I am using AGR to test my product. In one of the tests, on a particular
page there are two drop-down menus, one is for Product Edition and
another for the Target.
Product Ed: Drop-down menu1
Target : Drop-down menu2
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 using TPTP AGR is very difficult. I tried to use
the datapool option (used the custom input option), but it dosen't seem to
work. It looks like it only accepts inputs from the keyboard(and does not
replace the drop-down menu input).
<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"/>
Are there any other options?
Thanks,
Achala.
|
|
|
Re: Trying to send data to the drop-down menu [message #84890 is a reply to message #84784] |
Wed, 04 October 2006 12:16  |
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:b36ab60f69059d440057d7fa713b0105$1@www.eclipse.org...
> Hi,
>
> I am using AGR to test my product. In one of the tests, on a particular
> page there are two drop-down menus, one is for Product Edition and
> another for the Target.
> Product Ed: Drop-down menu1
> Target : Drop-down menu2
> 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 using TPTP AGR is very difficult. I tried to use
> the datapool option (used the custom input option), but it dosen't seem to
> work. It looks like it only accepts inputs from the keyboard(and does not
> replace the drop-down menu input).
>
> <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"/>
>
> Are there any other options?
>
> Thanks,
> Achala.
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03030 seconds