Skip to main content



      Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Trying to send data to the drop-down menu
Trying to send data to the drop-down menu [message #84784] Tue, 03 October 2006 14:49 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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.
>
>
Previous Topic:In TPTP AGR, how to send paramenters to the drop down menu
Next Topic:[GUI Test] Error while running testcases with a custom perspective
Goto Forum:
  


Current Time: Sun May 04 04:53:55 EDT 2025

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

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

Back to the top