Skip to main content



      Home
Home » Archived » Jubula » Unable to select node using TextPath in RCP application(I am unable to select node by TextPath in RCP application, however select node by IndexPath works perfectly fine)
Unable to select node using TextPath in RCP application [message #1759723] Mon, 17 April 2017 02:53 Go to next message
Eclipse UserFriend
I have attached screenshot of Tree component in my RCP application wherein, I want to select the first object in the 3rd folder under Home.
I have tried using absolute/ relative Path type, as well as providing following values in TextPath: .*Home*/.*c*/.*flipfone_hingeSK* OR 'Home/c/flipfone_hingeSK' and 'matches'/'simple match' operator, but none of these seem to work.
However if I select the 'select node by IndexPath option in the Tree component, it works perfectly fine, however I need to use TextPath, as object location is not fixed in folder hierarchy.
Please help!

My Jubula version is : 8.4.1.123
Attaching logs as well

[Updated on: Mon, 17 April 2017 03:02] by Moderator

Re: Unable to select node using TextPath in RCP application [message #1759850 is a reply to message #1759723] Wed, 19 April 2017 02:10 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

from your first example, I see you are missing a '.' at the end of the path - if you make it hingeSK.*, does that help?

Otherwise, please add the following information:
- Can you select just "Home" using the textpath?
- What error or behaviour happens when you try to select by textpath? Action error? Renderer not supported?

Best regards,
Alex
Re: Unable to select node using TextPath in RCP application [message #1760367 is a reply to message #1759850] Wed, 26 April 2017 08:19 Go to previous messageGo to next message
Eclipse UserFriend
Hi Alex,

I tried selecting just the Home path using text patch with matches/simple match operator, but it failed with the error as: Tree Node not found. (The error image and logs are attached)

index.php/fa/29141/0/

Thanks,
Sucheta
  • Attachment: error.JPG
    (Size: 107.48KB, Downloaded 409 times)
  • Attachment: rc_rcp.log
    (Size: 495.82KB, Downloaded 134 times)
  • Attachment: client.log
    (Size: 450.55KB, Downloaded 129 times)
Re: Unable to select node using TextPath in RCP application [message #1760368 is a reply to message #1759850] Wed, 26 April 2017 08:20 Go to previous messageGo to next message
Eclipse UserFriend
Hi Alex,

I tried selecting just the Home path using text patch with matches/simple match operator, but it failed with the error as: Tree Node not found. (The error image and logs are attached)

index.php/fa/29141/0/

Thanks,
Sucheta
Re: Unable to select node using TextPath in RCP application [message #1760370 is a reply to message #1760368] Wed, 26 April 2017 08:37 Go to previous messageGo to next message
Eclipse UserFriend
Attaching the missed log files.
  • Attachment: rc_rcp.log
    (Size: 495.82KB, Downloaded 138 times)
  • Attachment: client.log
    (Size: 450.55KB, Downloaded 159 times)
Re: Unable to select node using TextPath in RCP application [message #1760437 is a reply to message #1760370] Thu, 27 April 2017 04:36 Go to previous messageGo to next message
Eclipse UserFriend
Hello Sucheta,

your parameter in the examples above should be *Home* not .*Home.* since you are using simple matches. If you want to use .*Home.* then you need to select matches as the operator.

Best regards,
Alex
Re: Unable to select node using TextPath in RCP application [message #1760554 is a reply to message #1760437] Fri, 28 April 2017 05:12 Go to previous messageGo to next message
Eclipse UserFriend
I tried using *Home* with simple match operator. Still is failing with error "Tree node not found"
index.php/fa/29174/0/
Re: Unable to select node using TextPath in RCP application [message #1760898 is a reply to message #1760554] Thu, 04 May 2017 03:48 Go to previous message
Eclipse UserFriend
Hello Sucheta,

Maybe there is a invisible Node, can you try to select the Node via */*Home* (simple matches).
Also it could be that we are not getting the correct text of the Nodes. You can check this by using the action checkTextAtMousePosition or checkTextOfSelectedNode. So selecting(or hovering the mouse over it) the node manually beforehand and than executing the test might help to check if we are getting the correct text or there is a problem with it.

with regards,
Marvin Mueller
Previous Topic:Jubula support some features
Next Topic:Dashboard Server 8.4
Goto Forum:
  


Current Time: Wed Jul 16 19:51:09 EDT 2025

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

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

Back to the top