You can not use GetRowcount which is a QTP native method and will not work with word table.
will give you the row count for the table
Code:
objWord.Selection.Tables(1).Rows.Count|
Getting Row & Column data from MS-Word document QTP+
|
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
Getting Row & Column data from MS-Word document QTP+ - by shriqtp - 08-04-2009, 03:49 PM
RE: Getting Row & Column data from MS-Word document QTP+ - by Saket - 08-04-2009, 05:33 PM
RE: Getting Row & Column data from MS-Word document QTP+ - by shriqtp - 08-05-2009, 03:11 PM
RE: Getting Row & Column data from MS-Word document QTP+ - by Saket - 08-05-2009, 03:25 PM
RE: Getting Row & Column data from MS-Word document QTP+ - by shriqtp - 08-05-2009, 03:37 PM
RE: Getting Row & Column data from MS-Word document QTP+ - by Saket - 08-05-2009, 03:49 PM
RE: Getting Row & Column data from MS-Word document QTP+ - by shriqtp - 08-05-2009, 04:35 PM
RE: Getting Row & Column data from MS-Word document QTP+ - by Saket - 08-05-2009, 04:38 PM
RE: Getting Row & Column data from MS-Word document QTP+ - by shriqtp - 08-05-2009, 04:48 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,868 |
10-31-2018, 06:42 PM Last Post: Sandeep.san229 |
|
| pageDown in word.application | wannel | 0 | 2,064 |
11-25-2016, 10:06 PM Last Post: wannel |
|
| Searching for and selecting row in Datawindow | zsl0009 | 0 | 3,119 |
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 | 3,468 |
02-12-2015, 04:00 PM Last Post: Kirill |
|
| Automating Word Docs | bart02 | 0 | 3,106 |
07-18-2014, 03:25 AM Last Post: bart02 |
|