08-04-2009, 03:49 PM
Hi,
I have a input test data in MS-Word document as Row/Column format.
I would like to fetch that data from Script, store it in veriable and want to use it in Test.
Script:
' i can get the parameter count by
Query:
But how do i get the Row and Column data separately (like for Excel sheet, we can easily fetch that by "ColumnName" & 'SheetID')
--> Can it be possible to fetch Row/Column data for MS-Word document like Excel document?
--> Please guide and if possible pls give the code.
Thanks in advance
Shrinivas
I have a input test data in MS-Word document as Row/Column format.
I would like to fetch that data from Script, store it in veriable and want to use it in Test.
Script:
Code:
Set objWord = CreateObject("Word.Application")
Set word_doc = objWord.documents.Open("C:\1_word.doc")
' i can get the parameter count by
Code:
para_count = word_doc.Paragraphs.count
msgbox para_count
Query:
But how do i get the Row and Column data separately (like for Excel sheet, we can easily fetch that by "ColumnName" & 'SheetID')
--> Can it be possible to fetch Row/Column data for MS-Word document like Excel document?
--> Please guide and if possible pls give the code.
Thanks in advance
Shrinivas