| || |
Can any one help me out in how to create a Ms-word object in QTP and how to use menu items and items in tool bar (when i record item in tool bar or click on any menu item in ms-word then they are shown as WINOBJECT)....do any one have solution, how to access those objects thru object variables........
[ 01-18-2005, 03:51 AM: Message edited by: prammi ]
Re: MSWord object
QTP doesn't suppot MS Office UI elements. But you can use Word Object Model to automate your Word tasks from QTP. For example:
Set MSWordApp = CreateObject("Word.Application")
MSWordApp.Visible = true
text = MSWordApp.ActiveDocument.Content.Text
Here you can find more information and samples.