Interview Questions   Tutorials   Discussions   Programs   Videos   

QTP - How to record a word doc using qtp? i.e. open a word doc,type something and save the doc.




310
views
asked marvit October 9, 2014 09:18 AM  

How to record a word doc using qtp? i.e. open a word doc,type something and save the doc.


           

1 Answers



 
answered By Hitesh-1047   0  

We can do it via AOM to declare an object of type word application and then try to access the various property, we need to access.

Set oWord = CreateObject("Word.Application")

oWord.Visible = True

Set oWordObj = oWord.Documents.Add()

flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert