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 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
Previous Topic:Selecting Node using Treepath
Next Topic:Object Mapping : same component twice
Goto Forum:
  


Current Time: Sun Dec 21 10:02:06 GMT 2014

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

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