Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » Selecting Node using Treepath(Selecting Node using Treepath)
Selecting Node using Treepath [message #886062] Thu, 14 June 2012 06:59 Go to next message
Anu J is currently offline Anu JFriend
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 07:01]

Report message to a moderator

Re: Selecting Node using Treepath [message #886067 is a reply to message #886062] Thu, 14 June 2012 07:21 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
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 08:05 Go to previous messageGo to next message
Anu J is currently offline Anu JFriend
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] Fri, 15 June 2012 02:42 Go to previous messageGo to next message
Anu J is currently offline Anu JFriend
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 04:58 Go to previous message
Anu J is currently offline Anu JFriend
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:Advanced Settings for AUT
Next Topic:Object Mapping : same component twice
Goto Forum:
  


Current Time: Fri Apr 26 06:55:46 GMT 2024

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

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

Back to the top