Hi,

Try the below code that may be help to you
       oPageName=Browser("name:=Inbox/ (4/,100) /-
sourish/.mallick08/@gmail/.com /- Gmail").Page("micclass:=Page")
       Set oWebElement=Description.Create()
oWebElement("micclass").Value="WebElement"
oWebElement("innertext").Value="COMPOSE"

    Set oNav_1=oPageName.ChildObjects(oWebElement)

if Browser("name:=Inbox/ (4/,100) /- sourish/.mallick08/@gmail/.com /-
Gmail").Page("micclass:=Page").WebElement("innertext:=COMPOSE","index:=0").exist
then

Browser("name:=Inbox/ (4/,100) /- sourish/.mallick08/@gmail/.com /-
Gmail").Page("micclass:=Page").WebElement("innertext:=COMPOSE","index:=0").click
End if

Regards
Rajaselvan
On 09-Aug-2013 4:40 AM, "Sourish Mallick" <[email protected]>
wrote:

> Hi All
>
> I am Unable to Identify Compose webelement of Gmail by childobjects but
> able to identify same by Linear Programming.Email is
> [email protected]
>
> the Code is..
> Childobject
>
>        oPageName=Browser("name:=Inbox/ (4/,100) /-
> sourish/.mallick08/@gmail/.com /- Gmail").Page("micclass:=Page")
>        Set oWebElement=Description.Create()
> oWebElement("micclass").Value="WebElement"
> oWebElement("innertext").Value="COMPOSE"
> oWebElement("index").Value=Index
>
>
>     Set oNav_1=oPageName.ChildObjects(oWebElement)
> msgbox oNav_1.count
>
> Displays 0
>
> but when writing
>
> msgbox Browser("name:=Inbox/ (4/,100) /- sourish/.mallick08/@gmail/.com /-
> Gmail").Page("micclass:=Page").WebElement("innertext:=COMPOSE","index:=0").exist
>
> displays TRUE
>
> even on HIGhLIGHT, highlighting the compose webelelemnt only
>
> please help me !!!!!!!!!!!!!!!!!!!!!!!!!!
>
> even for me Fireevent"ondbclick" not working.....
>
> using qtp 9.5, on IE 10 and OS is windows 7
>
> --
> --
> 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