Micro Focus QTP (UFT) Forums
Automation testing of Outlook : - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Automation testing of Outlook : (/Thread-Automation-testing-of-Outlook)



Automation testing of Outlook : - pbrqtp - 10-12-2009

How can i test my Outlook operations using QTP 9.2?


RE: Automation testing of Outlook : - pbrqtp - 10-13-2009

If i recording any operation in Outlook using QTP, it doesn't record it.


RE: Automation testing of Outlook : - Tarik Sheth - 10-13-2009

Is it recognizing objects as Win object and winstatusbar etc.?
If not then please first launch QTP and then your Outlook application


RE: Automation testing of Outlook : - basanth27 - 10-13-2009

What part of outlook are you trying to test ? There are different ways to test Outlook in different ways. Some of them are custom controls and you may have to write extended functions(methods) to work with them.


RE: Automation testing of Outlook : - Ankur - 10-13-2009

Are you trying to test Outlook? OR Are you trying to use its COM interface to perform common operations such as sending mail ?

It will be good if you can write in details what you need to do with it.


RE: Automation testing of Outlook : - pbrqtp - 10-14-2009

Hi All,

Thanks for urs replay.

1. My company have provides some special Outlook Plug ins/Add-on in Tool bar.
2. It is not identify the objects.
3. it is recording recognize the objects, even i use the object spy.

my script like this:

Code:
Window(" Microsoft Outlook").WinObject("Standard").Click 39,9
Window("Message (HTML)").WinObject("RichEdit20WPT").Click 42,10
Window("Message (HTML)").WinButton("Send").Click
Window("Message (HTML)").Dialog("Microsoft Office Outlook").WinButton("OK").Click
Window("Message (HTML)").WinObject("RichEdit20WPT").Type "bpailla@conrep.com"
Window("Message (HTML)").WinButton("Send").Click
Dialog("Internet Security Warning").WinButton("Yes").Click
Window("Microsoft Outlook").Close


Thanks & regards,
Bhaskar


RE: Automation testing of Outlook : - pbrqtp - 10-14-2009

Hi All,

Thanks for urs replay.

1. My company have provides some special Outlook Plug ins/Add-on in Tool bar.
2. It is not identify the objects.
3. it is not recording recognize the objects, even i use the object spy.

my script like this:
Code:
Window(" Microsoft Outlook").WinObject("Standard").Click 39,9
Window("Message (HTML)").WinObject("RichEdit20WPT").Click 42,10
Window("Message (HTML)").WinButton("Send").Click
Window("Message (HTML)").Dialog("Microsoft Office Outlook").WinButton("OK").Click
Window("Message (HTML)").WinObject("RichEdit20WPT").Type "bpailla@conrep.com"
Window("Message (HTML)").WinButton("Send").Click
Dialog("Internet Security Warning").WinButton("Yes").Click
Window("Microsoft Outlook").Close


Thanks & regards,
Bhaskar


RE: Automation testing of Outlook : - pbrqtp - 10-17-2009

Hi All,

My outlook script like this:

Code:
Window(" Microsoft Outlook").WinObject("Standard").Click 39,9
Window("Message (HTML)").WinObject("RichEdit20WPT").Click 42,10

Please help me on this.
Thanks in advance,
Bhaskar