Hi, Try clicking the link which is parent of <SPAN> element. ie.link (:id,"entryPanel_levelChooser_panel_stepChooser_tabbedStepChooser_panel_proxyListPanel_proxyTree_i_3_nodeLink").click
- Angrez On 6/22/07, Ralph <[EMAIL PROTECTED]> wrote:
Hi, We have a web client that uses wicket as framework. I would like to click on a item in a tree but I don't know how. I have just installed watir so I am a novice user. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML Transitional//EN"><META http-equiv="Content-Type" content="text/html; charset=utf-8"> <HTML><BODY><DIV id="container"><DIV id="entryPanel"><DIV class="levelChooser" id="entryPanel_levelChooser"><SPAN class="tab-panel"><DIV class="stepChooser" id="entryPanel_levelChooser_panel_stepChooser"><DIV class="tabbedStepChooser" id="entryPanel_levelChooser_panel_stepChooser_tabbedStepChooser"><SPAN class="tab-panel"><DIV id="mainContent"><DIV id="mainNav" style="HEIGHT: 228px"><DIV class="leftarea" id="entryPanel_levelChooser_panel_stepChooser_tabbedStepChooser_panel_proxyListPanel"><DIV class="PnWebProxyTreePanel"><DIV class="proxyTree"><SPAN id="entryPanel_levelChooser_panel_stepChooser_tabbedStepChooser_panel_proxyListPanel_proxyTree"><DIV class="wicket-tree"><DIV class="row" id="entryPanel_levelChooser_panel_stepChooser_tabbedStepChooser_panel_proxyListPanel_proxyTree_3"><DIV class="a_"><A id="entryPanel_levelChooser_panel_stepChooser_tabbedS tepChooser_panel_proxyListPanel_proxyTree_i_3_nodeLink" onclick="var wcall=wicketAjaxGet('/webclient/client/?wicket:interface=:3:entryPanel:levelChooser:panel:stepChooser:tabbedStepChooser:panel:proxyListPanel:proxyTree:i:3:nodeLink::IBehaviorListener&wicket:behaviorId=0', function() { }, function() { });return !wcall;" href=" http://java-server/webclient/client/launchcenter/entry/Reservations#"><SPAN> Main Road Nijmegen </SPAN></A></DIV></DIV></DIV></SPAN></DIV></DIV></DIV></DIV></DIV></SPAN></DIV></DIV></SPAN></DIV></DIV></DIV></BODY></HTML> What I want is to click on the span with the text Main Road Nijmegen. The three item exists out of more items but I some of the items change as for example the number of items in the list change. Thanks in advance Ralph _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general