Micro Focus QTP (UFT) Forums
Microsoftoutlook 2003 Email from QTP Script waring box problem - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Microsoftoutlook 2003 Email from QTP Script waring box problem (/Thread-Microsoftoutlook-2003-Email-from-QTP-Script-waring-box-problem)



Microsoftoutlook 2003 Email from QTP Script waring box problem - Uma - 09-12-2011

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


RE: Microsoftoutlook 2003 Email from QTP Script waring box problem - kotaramamohana - 09-15-2011

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



RE: Microsoftoutlook 2003 Email from QTP Script waring box problem - Uma - 09-16-2011

Hi Ram ,
thanks for the reply,I will try today and I will let you know.
Thanks,
Uma


RE: Microsoftoutlook 2003 Email from QTP Script waring box problem - Rohan - 09-20-2011

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


RE: Microsoftoutlook 2003 Email from QTP Script waring box problem - Uma - 09-23-2011

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


RE: Microsoftoutlook 2003 Email from QTP Script waring box problem - tirru - 11-30-2011

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