I am using QTP9.2. I have to check whether mail is received from a particular Id or not. I have to use Browser to open the mail and count the no. of unread mail and verify following items :-
1.) Mail Subject
3.) Attachement. etc.
I know it is possible in Microsoft Outlook. but when I am using Browser it not giving the correct result.
For count the unread mail I am using following code:-
Set unread_mail=Browser("Browser").Page("Search : Outlook Web Access").ChildObjects(obj)
cnt is not giving the correct result
Please check and let me know the correct procedure to get the correct count