Skip to main content



      Home
Home » Archived » Jubula » How to click on a tree entry in PrimeFaces
How to click on a tree entry in PrimeFaces [message #1273005] Wed, 19 March 2014 05:39 Go to next message
Eclipse UserFriend
I'd like to test a JSF/PrimeFaces web application with Jubula.

How can I click on an tree entry? PrimeFaces has created some obscure HTML code from the p:tree element in that is connected to some JavaScript.

The code creates an LI element (in a DIV-UL structure) like that:

<li id="navForm:tree:0" class="ui-treenode ui-treenode-leaf ui-treenode-unselected" role="treeitem" data-nodetype="default" data-rowkey="0">
  <span class="ui-treenode-content ui-tree-selectable" aria-selected="false" aria-expanded="false">
    <span class="ui-treenode-leaf-icon"></span>
    <span></span>
    <span class="ui-treenode-label ui-corner-all">!!!Menu entry name to click on!!!</span>
  </span>
<ul class="ui-treenode-children" style="display:none"></ul>
</li>


How can I let Jubula click on the SPAN element inside? I mean, the one with "!!!Menu entry name to click on!!!" as content? This is really essential, since it is the main menu.

Thanks in advance!
Florian
Re: How to click on a tree entry in PrimeFaces [message #1273170 is a reply to message #1273005] Wed, 19 March 2014 12:45 Go to previous message
Eclipse UserFriend
We are currently (re)evaluating ARIA supported selections in HTML(5) applications. Without some hints like those provided by ARIA we can't identify high level components like trees.

The results of the mentioned evaluation might be included in a future release. If you can think of ways to help this development please contact the team on the jubula-dev-rc mailing list.

- Achim
Previous Topic:Preparing for the Jubula tutorial at EclipseCon
Next Topic:Can't execute test on AUT launched from Eclipse
Goto Forum:
  


Current Time: Thu Jul 24 17:00:09 EDT 2025

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

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

Back to the top