As the approach is KD and DD ,  store u r object in OR(Browser ,Page)
Get your username and password from excel or datatable for login.
now store inbox (link) in the OR  to get the number of emails , just
Inbox =B(".....").Page("......").Link("Inbox(20)").GetROProperty("text")
Since the value of the email here is hard-coded , go to object rep and
change it using
reg exp .
Extract the number of email from the string captured above .........
Msgbox Mid(Inbox
instr(1,Inbox,"(")+1,(instr(1,Inbox,")")-instr(1,Inbox ,"(")-1))
Hope this works for you .


On Sun, Mar 11, 2012 at 11:09 AM, sly2visweswar reddy
<[email protected]> wrote:
> hi anish,
>
> they ask me to write the code(script) .
> plz give me the answer if you have ?
>
> Regards
>
> visweswar
>
>
> On Sat, Mar 10, 2012 at 12:41 PM, Anish Pillai <[email protected]>
> wrote:
>>
>> Hi Visweswar,
>>
>> What did they ask? The code or the approach to be used to do this?
>>
>>
>> Cheers,
>> a n i s h
>>
>> [QTP - Automation Repository]
>>
>> [Get New Posts in your Inbox]
>>
>> --
>> AR
>>
>>
>> --
>> 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
> "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
"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

Reply via email to