Micro Focus QTP (UFT) Forums

Full Version: Microsoftoutlook 2003 Email from QTP Script waring box problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi ,
I am using Microsoft outlook3 and It always shows the warning box
while I am using the Email Script in QTP.
How to avoid that?
Any help?
Thanks
Uma
Hi Uma,

Can you please attach screen shot for your problem.

QTP is not recognised when I used Windows7, Outlook 2003 version.

QTP will work for Windows7, Outlook2007.

QTP will work for OS: XP, Outlook2000. Please use these configurations and Give reply if its working or not?

Thanks,
Ram
Hi Ram ,
thanks for the reply,I will try today and I will let you know.
Thanks,
Uma
Hi,
if outlook doesn't work we have CDO message which will send the mail without help of outlook express.

Code:
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "abcd"
objMessage.From = "abcd@xyz.com"
objMessage.To = "efgh@xyz.in"
objMessage.TextBody = "hi writ as much as u can."
objMessage.Send

copy it to QTP it works.
but it wont work for social mailing sites eg(gmail. yahoo.com, etc), u can use it for internal purpose.
Any ways try with the outlook express this solution is just an alternative.

Rohan
Hi Rohan,

I just copied and I put it in to my QTP Script and it shows the
"SendUsage configuration is invalid",Could you please tell me where I am doing mistake?
Thank you
Uma


Hi Ram,
Sorry for late reply.
The outlook 2003 warning box screen shot is attached in the word file.
As you said,I was planning to work with outlook 2007/outlook 2000,but I asked to install outlook2010 (My OS is XP).
I am going to try it.

I want to avoid/Disable the warning box which is from outlook,because everytime manually I need to click yes button.

Solutions are welcome.
Thank you
Uma
Hi Uma,

I got the warning dialog box window whenever QTP script is trying to access the Outlook email, currently i have to click yes button manually. could you please let me know if you have any idea to solve this issue.

regards
thiru