Thanks, I don't know how to use this object, so I ended up using "WScript.Shell" and used the shortcut keys.
Thanks again On Thursday, June 16, 2016 at 7:55:24 AM UTC-4, [email protected] wrote: > Sorry for delay responce > > You can create an object instead of record and run..there is an option..M > quite with my assignment so, couldnt get time.. > > On Saturday, June 11, 2016 at 3:29:16 AM UTC+2, [email protected] wrote: >> >> Hi, >> What you are showing me is how I can play with Outlook, all I want to do >> is click "Inbox", click "Drafts", click "Deleted Items", click "Send Items" >> The clicks work fine until there are unread messages in the folder. >> Can I do that using the CreateObject("Outlook.Application") or should I >> use record and play method? >> >> Thanks for helping. >> >> >> On Friday, June 10, 2016 at 9:33:54 AM UTC-4, [email protected] >> wrote: >> >>> You cannot use UFT record and run menthod...Sometime it will work only. >>> >>> check below link .. >>> >>> https://msdn.microsoft.com/en-us/library/office/ff866779.aspx >>> >>> Let me know if you need exact method. i need to work out :) >>> >>> On Thursday, June 9, 2016 at 7:11:29 PM UTC+2, [email protected] wrote: >>>> >>>> Hi, >>>> >>>> I want to just simply click the "Inbox" form the outlook. >>>> >>>> Window("Microsoft >>>> Outlook").WinObject("WinObject").WinObject("Inbox").Click >>>> (this works, but if the Inbox has unread mail then it doesn't work.) >>>> >>>> So I tried the following line, but it doesn't work, please help. >>>> >>>> Window("Microsoft Outlook").WinObject("WinObject").WinObject( >>>> "acc_name:=Inbox.*").Click >>>> >>>> >>>> >>>> Thanks >>>> >>> -- -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
