Skip to main content

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 09:39 Go to next message
Florian GR is currently offline Florian GRFriend
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 class="ui-treenode-label ui-corner-all">!!!Menu entry name to click on!!!</span>
<ul class="ui-treenode-children" style="display:none"></ul>

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!
Re: How to click on a tree entry in PrimeFaces [message #1273170 is a reply to message #1273005] Wed, 19 March 2014 16:45 Go to previous message
Achim Loerke is currently offline Achim LoerkeFriend
Messages: 376
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: Fri Jun 22 13:37:30 GMT 2018

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

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

Back to the top