title: QTP row and column count is always 1
body: <p>I am writing a piece of code to copy data from a web table to an excel sheet. I don't understand why I am getting row count and column count 1. Is there something else that I need to add?</p>
  
  <p>Here is my code:</p>
  
  <pre><code>Dim XL
  Set XL=createobject("Excel.Application")
  XL.Workbooks.Open "D:\QTP\RailwaysforSurat.xlsx"
  Set nsheet = XL.Sheets.Item(1)
  row=Browser("title:=.*").Page("title:=.*").WebTable("html tag:=TABLE", "index:=0").GetROProperty("rows")
  msgbox row
  cols=Browser("title:=.*").Page("title:=.*").WebTable("html tag:=TABLE", "index:=1").GetROProperty("cols")
  msgbox cols
  </code></pre>
  
  <p>This not complete code. I have trouble getting rows and columns count. Please help!</p>
  
  <p>P.S. I am using this website for the testing "<a href="http://www.indianrail.gov.in/cgi_bin/inet_trnnum_cgi.cgi" rel="nofollow">http://www.indianrail.gov.in/cgi_bin/inet_trnnum_cgi.cgi</a>"</p>