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 |
Explain calling sub procedure.
i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?
If the web applicatoin takes navigation time above 2 hours to dispaly next Web page then how can we synchronize the QTP with Appilication Under Test
what is vmodel?advantages and disadvantages of vmodel?
How to start recording using quicktest professional?
What is the entry criteria and exit criteria for your test automation
How To Export The Screen Shoots Along With The Test Reports In QTP Version 10? Thanks In Advance SenthilKumar
requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" ar = Window("Flight Reservation").WinComboBox("Fly From:").GetContent your actual value is : that shows data in combo box how can u test the both data is correct or not by using split function
In what occasion we can specify global sheet and action sheet?
what is clean sweep?
What are objects? how do you select the unknow object?
How to run scripts 1,29,3,5,7,2 scripts using test batch runner in QTP.... Ie...I wanted to run scripts not in an order 1,2,3,4,5...like that How it is possible using test batch runner... I dont want hardcoded script