Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 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
Florian GR is currently offline Florian GR
Messages: 1
Registered: March 2014
Junior Member
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
Achim Loerke is currently offline Achim Loerke
Messages: 333
Registered: July 2009
Location: Braunschweig, Germany
Senior Member

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 Aug 21 04:24:19 EDT 2014

Powered by FUDForum. Page generated in 0.01487 seconds