Sir,
 
How to focus on "div" element & click on that element. I am using HTML having source:
<div id="tCt1" dojoType="ContentPane" label="Billing" style="width: 760px;">
    <div class="permissionList">
    
     <label class="chk" for="">
      <input type="checkbox" id="assignedSystemGroups_2_1" class="chk" name="assignedSystemGroups" value="viewStatsBilling" >
      View Billing Statistics
     </label>
   </div>
  
   <div id="tCt2" dojoType="ContentPane" label="Common" style="width: 760px;">
    <div class="permissionList">
    
     <label class="chk" for="">
      <input type="checkbox" id="assignedSystemGroups_3_1" class="chk" name="assignedSystemGroups" value="baseWebAccess" >
      Login to Web Application
     </label>
</div>
 
I wanted to click on div having id="tCt2", the below code is not working:
id.div(:id,"tCt2").click
 
Please send me a solution for this.
 
Thanks in advance
 
Vikash Kumar


Find out what India is talking about on Yahoo! Answers India.
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to