Hi Siba,

The property name is "html tag" and not "htmltag", there is a space in 
between "html" and "tag"

For Inbox link, you can use regular expression as "name:=Inbox.*".

Please let us know if the above two points help you.

Thanks,
Uday
QTP Videos <https://www.youtube.com/user/AnemUday/videos>

On Tuesday, 31 December 2013 18:47:55 UTC+5:30, Mishra Siba Prasad 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] <javascript:>"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.

Reply via email to