Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting Row & Column data from MS-Word document QTP+
#4
Solved: 10 Years, 10 Months, 1 Week ago
You can not use GetRowcount which is a QTP native method and will not work with word table.
Code:
objWord.Selection.Tables(1).Rows.Count
will give you the row count for the table

Reply


Messages In This Thread
RE: Getting Row & Column data from MS-Word document QTP+ - by Saket - 08-05-2009, 03:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Check the word and get no. of times that word in the webpage Sandeep.san229 0 1,200 10-31-2018, 06:42 PM
Last Post: Sandeep.san229
  pageDown in word.application wannel 0 1,683 11-25-2016, 10:06 PM
Last Post: wannel
  Searching for and selecting row in Datawindow zsl0009 0 2,692 08-04-2015, 01:02 AM
Last Post: zsl0009
  QTP is not identifying table with column names property but its identifing with index Anuradha B 1 2,858 02-12-2015, 04:00 PM
Last Post: Kirill
  Automating Word Docs bart02 0 2,697 07-18-2014, 03:25 AM
Last Post: bart02

Forum Jump:


Users browsing this thread: 2 Guest(s)