*Corrected. you have to use regular expression for \ before ( for treating
as literal characterSystemutil.Run
"iexplore.exe","http://mail.google.com/mail/h/
<http://mail.google.com/mail/h/>"handle=Browser("creationtime:=0").GetROProperty("hwnd")msgbox
handleBrowser("hwnd:=" & handle).webedit("name:=Email").Set
"[email protected] <[email protected]>"Browser("hwnd:=" &
handle).webedit("name:=Passwd").Set "qtpworld123$"Browser("hwnd:=" &
handle).webbutton("name:=Sign in").Click*
*inbox=browser("name:=Gmail - Inbox").Page("title:=Gmail -
Inbox").Link("htmltag:=A","name:=Inbox
\(158\)").GetROProperty("text")msgbox inbox*


On Tue, Dec 31, 2013 at 6:47 PM, Mishra Siba Prasad
<[email protected]>wrote:

> *Please observe the below code*
>
>
>
>
>
>
>
>
>
>
>
>
> *Systemutil.Run "iexplore.exe","http://mail.google.com/mail/h/
> <http://mail.google.com/mail/h/>"handle=Browser("creationtime:=0").GetROProperty("hwnd")msgbox
> handleBrowser("hwnd:=" & handle).webedit("name:=Email").Set
> "[email protected] <[email protected]>"Browser("hwnd:=" &
> handle).webedit("name:=Passwd").Set "qtpworld123$"Browser("hwnd:=" &
> handle).webbutton("name:=Sign in").Clickinbox=Browser("Gmail -
> Inbox").Page("Gmail - Inbox").Link("Inbox
> (158)").GetROProperty("name")msgbox inbox*
>
>
> *inbox=browser("name:=Gmail - Inbox").Page("title:=Gmail -
> Inbox").Link("htmltag:=A","name:=Inbox (158)").GetROProperty("text")msgbox
> inbox*
>
>
> *The red color code is not working, because i am using descriptive
> programming. Can anybody help me where is the mistake.(At that time the
> inbox no is 158, u can change it)Q 2. Does hwnd property support  link
> object(I fetched the problem using hwnd with Link object.*
>
>
>
>
>
> *Please answer it. or collect it from qtpworld(From Sarvan)Smiles,Siba.*
>
>
>
>  --
> --
> 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/groups/opt_out.
>

-- 
-- 
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/groups/opt_out.

Reply via email to