Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » Problem with context menu froma swt tree
Problem with context menu froma swt tree [message #765180] Tue, 13 December 2011 10:10 Go to next message
Samuel Missing name is currently offline Samuel Missing name
Messages: 4
Registered: December 2011
Junior Member
Hey guys, sry for my bad english.

Look at my attachment, this is how my software looks like.

In jubula I created new step
Component Type: swt tree
Component name is my tree from object maping
Action: Select Context Menu entry by Textpath.
As (textpath)parameter value: Create new Project

If i run my test, jubula open this context menu but did not select menu entry "Create new Project"

Error description: Context menu not found

What i did wrong?

Thx
  • Attachment: tree.png
    (Size: 9.24KB, Downloaded 84 times)

[Updated on: Tue, 13 December 2011 10:17]

Report message to a moderator

Re: Problem with context menu froma swt tree [message #765483 is a reply to message #765180] Wed, 14 December 2011 01:57 Go to previous message
Alexandra Schladebeck is currently offline Alexandra Schladebeck
Messages: 1055
Registered: July 2009
Senior Member
The most likely reason is that the text in the context menu contains e.g. spaces / tabs / other invisible characters. Try using wildcards at the beginning and end of the text:
http://help.eclipse.org/indigo/topic/org.eclipse.jubula.client.ua.help/html/reference/node4.html

Otherwise, take a look at the cheat sheets on context menus to make sure that you're entering the right parameters for the test. You can also read more on the action you are using in the reference manual:
http://help.eclipse.org/indigo/topic/org.eclipse.jubula.client.ua.help/html/reference/node11.html

(Search for "Select Context Menu Entry by Textpath (Graphics Component)")

HTH,
Alex
Previous Topic:Question on running Tests against multiple AUT's
Next Topic:[HTML] Access Denied using Jubula
Goto Forum:
  


Current Time: Fri Apr 18 04:05:18 EDT 2014

Powered by FUDForum. Page generated in 0.02072 seconds