Results 1 to 2 of 2

Thread: How to get the count of mails in outlook inbox

  1. #1
    Junior Member
    Join Date
    Apr 2008
    Answers
    1

    How to get the count of mails in outlook inbox

    How to get the count of mails in outlook inbox.

    Thanks in advance.


  2. #2
    Expert Member
    Join Date
    Jan 2007
    Answers
    211

    Re: How to get the count of mails in outlook inbox

    There are two approach for the Problem, I would suggest u to spy on the InBox & find what object type it appears for QTP.

    Solution 1:

    If the Object is captured as a Custom Control.

    Step 1: Fetch the Text on the Custom Control
    "That will be the Mails Seprarated by some common String(the Common terminal say Date)"

    Step 2: Parse the String by the common separator & u have the Count.



    Solution 2:

    If InBox is Captured as a Table.

    Its Far Easy u can use the Method of Table Object to get the Row Count(Mail Count).

    EXCEPTION: OutLook is Considered as one Object.......
    Please Revert with updates

    Regards,
    Nawab


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact