title: QTP: Getting the value of a checkbox
body: <p>I want to know that how many checkboxes are present on the home page of <a href="http://www.gmail.com" rel="nofollow noreferrer">www.gmail.com</a> and also I want to check the checkbox is checked or not .....</p>
  
  <p>My code is....</p>
  
  <pre><code>Set obj= Description.Create()
  obj("name").value="PersistentCookie"
  obj("html tag").value="INPUT"
  obj("type").value="checkbox"
  
  Set a = Browser("name:=Gmail.*","title:=Gmail.*").Page("title:=Gmail.*").Childobjects(obj)
  MsgBox a.count
  
  c =Browser("name:=Gmail.*", "title:=Gmail.*").Page("title:=Gmail.*").GetROProperty("checked")
  MsgBox c
  </code></pre>
  
  <p>The value of <code>c</code> is always "OFF" even i checked the checkbox (Remember me on this computer) and execute the above code but value of <code>c</code> is always "OFF"</p>
  
  <p>Please help me on this
  thanks in advance...</p>
  
  <p>kindly reply on this..</p>