Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 06:53 Go to next message
Sucheta Hardikar is currently offline Sucheta HardikarFriend
Messages: 11
Registered: February 2017
Junior Member
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 07:02]

Report message to a moderator

Re: Unable to select node using TextPath in RCP application [message #1759850 is a reply to message #1759723] Wed, 19 April 2017 06:10 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
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 12:19 Go to previous messageGo to next message
Sucheta Hardikar is currently offline Sucheta HardikarFriend
Messages: 11
Registered: February 2017
Junior Member
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 363 times)
  • Attachment: rc_rcp.log
    (Size: 495.82KB, Downloaded 108 times)
  • Attachment: client.log
    (Size: 450.55KB, Downloaded 109 times)
Re: Unable to select node using TextPath in RCP application [message #1760368 is a reply to message #1759850] Wed, 26 April 2017 12:20 Go to previous messageGo to next message
Sucheta Hardikar is currently offline Sucheta HardikarFriend
Messages: 11
Registered: February 2017
Junior Member
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 12:37 Go to previous messageGo to next message
Sucheta Hardikar is currently offline Sucheta HardikarFriend
Messages: 11
Registered: February 2017
Junior Member
Attaching the missed log files.
  • Attachment: rc_rcp.log
    (Size: 495.82KB, Downloaded 119 times)
  • Attachment: client.log
    (Size: 450.55KB, Downloaded 126 times)
Re: Unable to select node using TextPath in RCP application [message #1760437 is a reply to message #1760370] Thu, 27 April 2017 08:36 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
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 09:12 Go to previous messageGo to next message
Sucheta Hardikar is currently offline Sucheta HardikarFriend
Messages: 11
Registered: February 2017
Junior Member
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 07:48 Go to previous message
Marvin Mueller is currently offline Marvin MuellerFriend
Messages: 255
Registered: March 2012
Senior Member
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: Fri Apr 19 03:41:53 GMT 2024

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

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

Back to the top