Hi,
Thanks for ur responce..
How to get value of particular note using QTP. currently i am enable to get
the name of node using *object.ElementName() *but it give me name i want
value of node. which function i should use.
e.g.
< averageRating type="*number*">0</averageRating>
<categories type="*string*">Captain / ViceCaptain</categories>
>From above two lines i m able to get name of node as averageRating and
categories
but i want to get its value i.e. "0" and "Captain / ViceCaptain" so that i
can save it in Datattable.
On Tue, Apr 28, 2009 at 12:59 AM, Sreedhar Mallipeddi <
[email protected]> wrote:
> hi
> Use the XMLUTIL object and search for ur node in XML file..and u will get
> the value of that paticular node..
>
>
>
> On Tue, Apr 28, 2009 at 7:30 AM, Joy <[email protected]> wrote:
>
>>
>> Hello all,
>>
>> Is there a way to read each and every element in a XML file and get
>> the element's value (i.e., value between element's start tag and the
>> element's end tag.)?? Please help..
>>
>>
>>
>
>
> --
> Mallipeddi Sreedhar
> 91-9848871279
>
> >
>
--
Cheers...!!!!!
Joy
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---