Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Outlook automation using QTP
#7
Not Solved
which object in outlook is not recognised, do you mean to say when you click Tools>Rules and Alerts in record mode ,it records the statement with co-ordinates? something like
Code:
Window("Microsoft Outlook").Window("Tools").Click 47,60
right?
QTP does not recognise context menu, this is the reson you are getting the statements with co-ordinates, but Yes there could be different ways of handling this in QTP, one of the way could be use the shortcut keys using Sendkeys method.

see the code below
Code:
Window("Microsoft Outlook").Activate

set WshShell = CreateObject("WScript.Shell")

WshShell.SendKeys "%(TL)"
does this help?

Reply


Messages In This Thread
Outlook automation using QTP - by sara0710 - 10-14-2009, 11:06 AM
RE: Outlook automation using QTP - by Saket - 10-14-2009, 12:15 PM
RE: Outlook automation using QTP - by sara0710 - 10-25-2009, 10:38 PM
RE: Outlook automation using QTP - by Saket - 10-14-2009, 12:39 PM
RE: Outlook automation using QTP - by Saket - 10-26-2009, 10:56 AM
RE: Outlook automation using QTP - by basanth27 - 10-26-2009, 01:46 PM
RE: Outlook automation using QTP - by sara0710 - 10-29-2009, 06:14 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Clicking a link in an outlook email using QTP kirti 0 5,623 06-15-2014, 01:25 AM
Last Post: kirti
  Getting Application Error while launching Outlook yogesh kancherla 3 3,235 10-29-2012, 12:17 PM
Last Post: krr
  Outlook question mv8167 1 3,248 09-09-2012, 11:46 AM
Last Post: freeboynil
  Automating Outlook PrabhatN 14 15,987 09-08-2012, 02:01 AM
Last Post: Jiju8621
  Adding attachment to Outlook Email mv8167 4 5,538 05-09-2012, 10:52 PM
Last Post: mv8167

Forum Jump:


Users browsing this thread: 1 Guest(s)