10-29-2012, 11:09 AM
(This post was last modified: 10-29-2012, 11:09 AM by yogesh kancherla.)
Hi,
I wanted to launch Outlook with QTP code. When i am writing the below code itself its throwing Application error and QTP is getting closed
When i open braces after Getnamespace its throwing Application error and QTP is getting closed.
Please suggest where i am doing wrong?
Regards,
Yogi
I wanted to launch Outlook with QTP code. When i am writing the below code itself its throwing Application error and QTP is getting closed
Code:
Set Outlookapp=createobject("Outlook.Application")
Set Outlookapp1=Outlookapp.GetNameSpace(
When i open braces after Getnamespace its throwing Application error and QTP is getting closed.
Please suggest where i am doing wrong?
Regards,
Yogi