Extracting data from XML

Ask general questions here.
jayam_jp22
Posts: 7
Joined: Tue Sep 21, 2010 8:02 am

Extracting data from XML

Post by jayam_jp22 » Tue Sep 21, 2010 10:43 am

Hi Ranorex Users,

I'm new to Ranorex tool. I have a problem with me which requires your help!.

I have an XML file which as arround 300 tags and the corresponding values in it. I need to extract them from the xml file and compare it with the application. Please let me know how to proceed with the problem and if Ranorex has ability to read xml file which has data in Parent & child structure?

Thanks for your valuable time. :D

Regards,
Jayaprakash R

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Extracting data from XML

Post by Support Team » Tue Sep 21, 2010 12:00 pm

Hi,

One of the big advantages of Ranorex is, you have fully access to the .Net Framework. Just write your own XML Reader and use the validate method of Ranorex to check if each element in the XML, is also available in your software. Please take a look to following link http://support.microsoft.com/kb/307548

Regards,
Peter
Ranorex Team

atom
Posts: 357
Joined: Sun Dec 07, 2008 11:14 pm
Location: Dublin, Ireland

Re: Extracting data from XML

Post by atom » Wed Sep 22, 2010 3:03 pm

Have a read of LINQ to xml...
Or if your using VB.Net look up the xml axis operators
Both are real time savers compared to XPath

Cheers