From the course: Robot Framework Test Automation: Level 1 (Selenium)

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

XML

XML

Before we dig into the Robot Framework XML library, I'll just take a brief minute here to give you a light overview of what XML is. XML is an acronym for Extensible Markup Language, and it's really just structured data. It was first used around 1996 or so to represent Internet documents, and it basically allowed people to create structured data using elements, and tags, and attributes to describe hierarchical relationships. It's typically navigated and parsed with XPath. It can be used to transfer data between disparate systems that might not have similar file formats or processors. It's used in SOAP API calls to transfer serialized data across the wire. And it has a more modern competitor known as JSON JavaScript object notation, which was first used around 1999 to 2001. JSON is less verbose and lighter than XML. It can be parsed using JavaScript eval and it's used for more modern REST API calls. We saw some of that in the API library video. Like I mentioned, XML uses elements, tags,…

Contents