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 |
What is the difference between functional spec. and Business requirement specification?
What is text check point and text area check point?
Why is Client side image is preferred over server side image?
Suppose i have given 10 test cases all the test cases should be automated?
In qtp, how you can get the last character from a string?
Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!
how to test Web application using QTP software
What is the concept of firewalls?
I learned all the objects of my application in object repository thru English Language. now i want to use same object repository for other languages(French,Dutuch and Chinese)
Please guide me release notes of Automation once scripts are completed
can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com
How to release all resources file from the QTP?