Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » Selecting Node using Treepath(Selecting Node using Treepath)
Selecting Node using Treepath [message #886062] Thu, 14 June 2012 02:59 Go to next message
Anu J is currently offline Anu J
Messages: 18
Registered: June 2012
Junior Member
Hi,

This is my folder structure:

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

The folder name has the forward slash.

How do I select the //protocol/samp folder? I have given the path as

Root/SubRoot///protocol/samp
But I find that it doesnt go to that particular folder, it stops at SubRoot.

I actually need to test the dialog box which gets displayed when I cright click on the "//protocol/samp" folder.

Also, how should I map the object corresponding to "right click the selected folder from the tree" when I am doing object mapping?

Any ideas?

[Updated on: Thu, 14 June 2012 03:01]

Report message to a moderator

Re: Selecting Node using Treepath [message #886067 is a reply to message #886062] Thu, 14 June 2012 03:21 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra Schladebeck
Messages: 1092
Registered: July 2009
Senior Member
Hi,

You'll probably need to use regular expressions or escape the forward slash to perform the selection.

Information on working with context menus is in the reference manual (search for in "Select Context Menu Entry by Textpath" this file). There is also a cheat sheet on context menus you can work through. You can start the cheat sheet from the help menu. There is also a thread on working with context menus here.

HTH,
Alex
Re: Selecting Node using Treepath [message #886081 is a reply to message #886067] Thu, 14 June 2012 04:05 Go to previous messageGo to next message
Anu J is currently offline Anu J
Messages: 18
Registered: June 2012
Junior Member
Thanks, I will check it out.
Re: Selecting Node using Treepath [message #886480 is a reply to message #886081] Thu, 14 June 2012 22:42 Go to previous messageGo to next message
Anu J is currently offline Anu J
Messages: 18
Registered: June 2012
Junior Member
Hello Alex,

I tried using the escape sequence and I am able to navigate till the

Root/SubRoot///protocol/samp by using the command:

Root/SubRoot/\\/\\/protocol\\/samp*

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


I actually need to right click on folder1 but I am unable to navigate to folder1 using the following command:

Root/SubRoot/\\/\\/protocol\\/samp/Folder1

This is my error

Error Description Tree Node not found

I really dont see what the issue is. Any idea?

Thanks.
Re: Selecting Node using Treepath [message #886514 is a reply to message #886480] Fri, 15 June 2012 00:58 Go to previous message
Anu J is currently offline Anu J
Messages: 18
Registered: June 2012
Junior Member
Hi Alex,

I closed and opened Jubula 2-3 times and now it seems to be working fine.

Thanks.
Previous Topic:Left Click operation on a pop up menu
Next Topic:select Context Menu by indexpath
Goto Forum:
  


Current Time: Tue Jul 29 17:07:25 EDT 2014

Powered by FUDForum. Page generated in 0.12810 seconds