Is it possible for QTP to capture the objects in word
document.If so please give me the code.Thank you.
Answers were Sorted based on User's Feedback
Answer / nath .t
Dim Word, Doc, Uncorrected, Corrected
Const wdDialogToolsSpellingAndGrammar = 828
Const wdDoNotSaveChanges = 0
Uncorrected = "Helllo world!"
Set Word = CreateObject("Word.Application")
Set Doc = Word.Documents.Add
Word.Selection.Text = Uncorrected
Word.Dialogs(wdDialogToolsSpellingAndGrammar).Show
If Len(Word.Selection.Text) <> 1 Then
Corrected = Word.Selection.Text
Else
Corrected = Uncorrected
End If
msgbox corrected
Doc.Close wdDoNotSaveChanges
Word.Quit
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / anu
It is possible to capture objects in Word Document.
Tables will be there and few will be read as paragraph
Is This Answer Correct ? | 0 Yes | 0 No |
can any one tel ,using simple string a[0]=I a[1]=N a[2]=D like that it go's . . out put i need INDIA help me it's really need full ..
What is the difference between client server application and web based application?
Can you expect major bugs in Net banking Application?
QTP in mumbai
Hi, When I click on a hyperlink a secondary pop-window will open. In that pop-up window there will be 'N' number of records arranged in with paging option in datagrid table. Each rows contains two columns, one is text and the other is a radio button. I will pass the first column value and based in it the tool have to select the corresponding radio button in that row. Please someone help me how to handle this as am new to QTP.
In VSS, HoW the documents send to local folder? copy paste or any other? plz explain about VSS TOOL kit?
How qtp identifies objects?
what is virtual object?
In real time whenever we found bug , after that where you send to that bug. send to T.Lead or Directly Developer. Plz explain me?
What is the difference between Systemutil.run and Navigate.
what is error and fault in terms of software quality?
can any one tell me the script to click on a button in the wintoolbar.