Ganymede TPTP 4.5 - Items in context menu [message #133110] |
Wed, 23 July 2008 11:48 |
Eclipse User |
|
|
|
Originally posted by: jakrezni.cz.ibm.com
Hi,
I try to get familiar with TPTP. I went through the official tutorial but
IŽm not sure about some things...
For example: IŽd like to ensure that some specific items are available in
the context menu when I click on a node of some project tree (itŽs an
eclipse plugin IŽd like to test)...or to test that some values are present
in a dropdown.
Could you please give me some hint where to start?
Regards, Jakub
|
|
|
|
Re: Ganymede TPTP 4.5 - Items in context menu [message #133476 is a reply to message #133188] |
Tue, 29 July 2008 10:56 |
Eclipse User |
|
|
|
Originally posted by: jakrezni.cz.ibm.com
Hi,
thanks for your answer...IŽve tried AGR before but IŽm not sure it can
solve my problem. IŽll ask again in a different way: I have a dropdown and
IŽd like to test whether it contains some specific items (for example:
when I test it it contains 5 concrete items...later when I run the test
again it contains just 3 items or 5 items but different than before)...is
it possible to do that?
Thanks in advance, Jakub
|
|
|
|
Re: Ganymede TPTP 4.5 - Items in context menu [message #133710 is a reply to message #133489] |
Mon, 04 August 2008 11:39 |
Eclipse User |
|
|
|
Originally posted by: jakrezni.cz.ibm.com
Hi,
thanks for your help, but finaly I did this:
For example IŽd like to test the presence of "Properties" and "Import..."
items in the context menu when I right click the "Java project", then itŽs:
...
<command type="focus" contextId="view/org.eclipse.jdt.ui.PackageExplorer"
widgetId="org.eclipse.swt.widgets.Composite#1"/>
<command type="focus"
resolverId="org.eclipse.tptp.test.auto.gui.nontrivial"
contextId="popup/view/org.eclipse.jdt.ui.PackageExplorer/{{/}}-{{1.0}} "
widgetId="{{Properties&#x9;Alt+Enter}}-{{1.0}}"/>
<command type="focus"
resolverId="org.eclipse.tptp.test.auto.gui.nontrivial"
contextId="popup/view/org.eclipse.jdt.ui.PackageExplorer/{{/}}-{{1.0}} "
widgetId="{{Import...}}-{{1.0}}"/>
...
This is enough for me - I get an error if itŽs not possible to locate some
item.
Thanks for all your help, Jakub
|
|
|
Powered by
FUDForum. Page generated in 0.03981 seconds