Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » Left Click operation on a pop up menu(Left Click operation on a pop up menu)
Left Click operation on a pop up menu [message #886085] Thu, 14 June 2012 04:10 Go to next message
Anu J is currently offline Anu J
Messages: 18
Registered: June 2012
Junior Member
Hi,

This is my operation flow:

1) Right Click on a node in a tree.
2) A pop up menu gets displayed with a number of operations.
3) LEFT click on any one of the option on the pop up menu.
4) Check something in the output.

These are the commands I am using:
ub_tre_selectNode_byTextpath
ub_grc_clickRight_single

My question is how can I perform a single left click operation on any one item
from the pop up menu which is displayed which I right clicked it?

I am unable to select any option from the "right click poppped up" menu.

Please tell me if my question is not clear.I will rephrase it.

Thanks.


Re: Left Click operation on a pop up menu [message #886087 is a reply to message #886085] Thu, 14 June 2012 04:13 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra Schladebeck
Messages: 1092
Registered: July 2009
Senior Member
Hi,

This question was already answered in my message in the previous thread..

Best regards,
Alex
Re: Left Click operation on a pop up menu [message #886108 is a reply to message #886087] Thu, 14 June 2012 05:08 Go to previous messageGo to next message
Anu J is currently offline Anu J
Messages: 18
Registered: June 2012
Junior Member
Hi Alex,

I referred

help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.jubula.client.ua.help%2Fhtml%2Freference%2Fnode11.html

In section Select Context Menu Entry by Textpath,

•Jubula realises this by:
◦Right-clicking in the component, at the place where the cursor currently is.
◦Navigating to the menu item specified.
◦Left-clicking on the menu option.

I just want to confirm, it means that if we want to select an option from a right click pop up menu, we just need to use "ub_grc_selectContextMenuEntry_byTextpath" ONLY.

If this is the case, where should I specify which option should be left clicked from the pop up menu. There are only three parameters TEXTPATH,OPERATOR,MOUSE_BUTTON.(As there are a number of options)

Please clarify.
Re: Left Click operation on a pop up menu [message #886113 is a reply to message #886108] Thu, 14 June 2012 05:19 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra Schladebeck
Messages: 1092
Registered: July 2009
Senior Member
Hi,

yes, that is the action. If you read further in the description, you will see the list of parameters and what is expected for each one.

Best regards,
Alex
Re: Left Click operation on a pop up menu [message #886123 is a reply to message #886113] Thu, 14 June 2012 05:38 Go to previous messageGo to next message
Anu J is currently offline Anu J
Messages: 18
Registered: June 2012
Junior Member
Hi Alex,

Sorry, but I dont get what you`re saying.

The current status is that the tool is right clicking the desired menu item and just stops there.

AS I mentioned in my previous post, there are only three parameters to be input:

TEXTPATH = Path to the node which should be left clicked(after right click)
OPERATOR = equals
MOUSE_BUTTON = 3

But if I give the above values, then it stops with the right click operation.

How should I initiate the left click operation?

Sorry but is there something Im missing out?
Re: Left Click operation on a pop up menu [message #886158 is a reply to message #886123] Thu, 14 June 2012 06:59 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra Schladebeck
Messages: 1092
Registered: July 2009
Senior Member
You need to first select the node on the tree, then select from the context menu.
The cheat sheet I mentioned in the other thread has exactly this example in it, so I would recommend doing the cheat sheet to learn how this aspect works.

HTH,
Alex
Re: Left Click operation on a pop up menu [message #886462 is a reply to message #886158] Thu, 14 June 2012 21:17 Go to previous message
Anu J is currently offline Anu J
Messages: 18
Registered: June 2012
Junior Member
Ok. I got it working.

Thanks.
Previous Topic:Advanced Settings for AUT
Next Topic:Selecting Node using Treepath
Goto Forum:
  


Current Time: Fri Aug 01 12:05:01 EDT 2014

Powered by FUDForum. Page generated in 0.02663 seconds