Hi Sourish,

You cannot use Indexed description with *CreateObjects *in Dynamic DP.

Where as you can directly use the object description in the same 
statement(Static DP) as below:
Browser().page().WE("innertext:=COMPOSE","index:=0").set "Your string value"

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


On Friday, 9 August 2013 01:10:53 UTC+5:30, Sourish Mallick 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]<javascript:>
>
> 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.

Reply via email to