Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » select Context Menu by indexpath(select Context Menu by indexpath)
select Context Menu by indexpath [message #886540] Fri, 15 June 2012 06:26 Go to next message
Anu J is currently offline Anu JFriend
Messages: 18
Registered: June 2012
Junior Member
Hi Alex,


-Root
--SubRoot
---Node1
---Node2
---//protocol/samp
----Folder1

Folder1 right pop up has a number of options. I am able to select the first option successfully using the selectNode by Textpath and the Select ContextMenuEntry by TextPath.

However the same flow does not work if I want to select a second option in the popup.
I tried using selectContextMenuEntry_byIndexpath but I am not quite sure what value I should enter in the INDEXPATH variable.

Assuming when folder1 is right clicked, subop1 and subop2 are displayed.

then the following commands do not work:

SelectNodebytextpath - TEXTPATH : Root/SubRoot/\\/\\/protocol\\/samp/Folder1
SelectContextMenuEntry_byIndexPath - INDEXPATH : subop2


What is the right way to use IndexPath?

As there are not too many examples on the help manual, I am posting it here.

Thanks.



[Updated on: Fri, 15 June 2012 06:28]

Report message to a moderator

Re: select Context Menu by indexpath [message #886557 is a reply to message #886540] Fri, 15 June 2012 07:08 Go to previous messageGo to next message
Anu J is currently offline Anu JFriend
Messages: 18
Registered: June 2012
Junior Member
Just to add,

I even tried giving the indices 1/2 , 1 etc.

Nothing seems to work.

Can someone tell me what mistake I am making?

Thanks
Re: select Context Menu by indexpath [message #1710678 is a reply to message #886557] Thu, 08 October 2015 11:11 Go to previous messageGo to next message
lea ilagan is currently offline lea ilaganFriend
Messages: 19
Registered: October 2012
Junior Member
Hi Anu J,

Have you solved your problem on context menu? I am also encountering the same issue and was not able to find ways yet. Was not able to select the second option in the pop up.

Please help. Your response is highly appreciated.

Thanks,
Lea

[Updated on: Thu, 08 October 2015 11:12]

Report message to a moderator

Re: select Context Menu by indexpath [message #1710713 is a reply to message #1710678] Thu, 08 October 2015 15:24 Go to previous message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1554
Registered: July 2009
Senior Member
Lea, is the answer you mentioned in this thread (1) the answer to this, or are you still having trouble?

(1) https://www.eclipse.org/forums/index.php?t=msg&th=1070690&goto=1710685&#msg_1710685
Previous Topic:Can Jubula can test Application installed (as feature and plugins) in Eclipse?
Next Topic:Working with Data Sets
Goto Forum:
  


Current Time: Tue Sep 27 12:27:19 GMT 2016

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

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