ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
Is it possible for QTP to capture the objects in word 
document.If so please give me the code.Thank you.
 Question Submitted By :: Prasad
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Is it possible for QTP to capture the objects in word document.If so please give me the code.Thank you.
Answer
# 1
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 ?    0 Yes 1 No
Nath .t
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
how can we retrieve ten rows from the data table using loop concept?  3
how many scripts r there in QTP? pls any answer this question?  4
What is the vb script when the url enter into the browser Satyam1
How you handles Pop-up windows which are Dynamically changing in Runtime?  2
WHAT IS A TEST STRATEGY & WHAT IS THE DIFFERENCE BETWEEN TEST STRATEGY & TEST PLAN? CTS17
Today only i joined in this site. Can u please tell me definition of parameterization. and how i can do the parameterization?  3
what is the exact Diff. Between Test and Component in QTP?  1
When u r running a script , if u get a popup window that describing that u have received a mail to your outlook application. so to avoid the interference of the popup window , which recovery scenario(popup,object state,application hang,system crash) would u use ? Accenture3
How to call script1 into script2?  3
How QTP recognizes Objects in AUT? Blue-Star5
How would you parameterize the text field "Country" and the same "country" when it appears as combo field on other page with text field city and same with City combo field? Adobe1
How the automated tests in org Maintec1
Does the Existing reusable action can be modified at the time of calling the action?? Please help me..  2
Explain about reusable actions?  2
i have 2 year experience in manual and automation testing, I have less percentages in X, Xii (Second grade), can i elgible to TCS interview (Or MNC's)  2
How to give Table check points? ssinformatics4
What r the features of QTP9.2,other than QTP8.0 What r the extre features of QTP9.2.  2
what is standalone database Wipro1
if devloper change only button names in present build then script will execute or not , why? Only gui changed....... Cap-Gemini1
why don’t use real time they r not using check points Wipro1
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com