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 02:26 Go to next message
Anu J is currently offline Anu J
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 02:28]

Report message to a moderator

Re: select Context Menu by indexpath [message #886557 is a reply to message #886540] Fri, 15 June 2012 03:08 Go to previous message
Anu J is currently offline Anu J
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: Thu Jul 31 07:45:32 EDT 2014

Powered by FUDForum. Page generated in 0.01605 seconds