Hi Akhalesh,

Thanks for the reply.

It is not that simple. 

For me, field name and true mark is both separate objects.
Example. Fieldname =  "true mark"

So what i did, I got required properties from true mark object like height, 
abs_y etc and set that to field name object then trying to get it's 
innertext.

please refer: 
http://www.allcardetails.com/model-2012-2013/audi-a4-allroad-quattro-20-tdi-143pk-5-doors-stationwagon-6-speed-manual-26879.html
 

I tried your code but I am getting error while trying set the obj.

Please help.

Regards,
Vishal Shah



On Friday, 25 October 2013 10:44:00 UTC+5:30, Akhalesh Yadav wrote:
>
> On 25 Oct 2013 08:08, [email protected] <javascript:> wrote:
>
> Hi good mng,
>                           I reviewed your requirement and your code I 
> think you should try this code to find out the object name which value is 
> true mark.
>
> Set odesc=description.create ()
> odesc("value").value="true mark"
> odesc("index").value=0
> Set oPage=browser ("").page ("").childobjects (odesc)
> For I=0 to oPage.count
> Fname=oPage (I).getroproperty ("name")
> If Fname="true mark" then
>   Print Fname
>    Exit for
> Else
> End if
> Next
>
> Thanks...
> Akhalesh
>
>

-- 
-- 
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