Posts: 15
Threads: 1
Joined: Feb 2009
Reputation:
0
02-26-2009, 01:05 PM
Hi All,
I Am trying to send mail using QTP(9.2) .I have used "outlook.application" and also "CDONTS.Newmail".
In both cases am geting an error in the line 'Set Ol = Createobject("Outlook.Application")', saying Activex can't create object "Outlook.Application".Similar in "CDONTS.Newmail".
I have also copied the same code provided by qtp in the samplecode folder,.vbs file.But the result is same.
Please help.
Posts: 29
Threads: 0
Joined: Jan 2009
Reputation:
0
02-26-2009, 01:59 PM
You need to install CDonts library first. Search on microsoft.com for CDONTS library and install the same
Posts: 15
Threads: 1
Joined: Feb 2009
Reputation:
0
02-26-2009, 02:59 PM
Thanks a lot.But what about outlook ? It is there in my machine and before executing the QTP script , have also opened outlook.
Posts: 29
Threads: 0
Joined: Jan 2009
Reputation:
0
02-26-2009, 06:41 PM
You are not using OUtlook here. CDONTS is a different library and it does not come with outlook.
Posts: 5
Threads: 1
Joined: Sep 2009
Reputation:
0
09-02-2009, 03:16 AM
Hi everyone,
I wanted QTP to email me when there's a problem found during testing. I got the email codes but how do I call those codes to send email emails? Do I have to add those send email function into the testing script? Or keep the send email in a separate vbs file?
I hope this makes sense if not please let me know so I can explain more what I am seeking
Thanks...
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
09-02-2009, 11:22 AM
(This post was last modified: 09-02-2009, 11:23 AM by basanth27.)
v890115 -
Please ensure you do not Reopen Posts which are old. If you have a question kindly first search the forum and if you could not find what you were looking for then open a new post.
It is imperative that you follow the forum guidelines so that everyone can help you.
Thread locked !!!
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.