DOM is an acronym for Document Object Model, in this article we shall understand some details about DOM.
DOM is basically tree based representation of all UI elements in a web page that gets rendered in client’s web browser or it can be for a XML document too. It is a cross platform and language independent representation and also lets you to interact with objects in HTML, XHTML and XML documents.
Few of the APIs like getElementByID and getElementByName play a major role to interact with objects in the web page or a xml document.
DOM has evolved across various levels
DOM Level 1: came up with complete model for xml document and html content.
DOM Level 2: This is the stage when the APIs like getElementByTagName, getElementById are introduced in to the world.
DOM Level 3: In this stage it has started giving support for XPath, keyboard event handling and serializing documents as XML.
DOM Level 4: Is under development, need to see what features are going to be get included.
Please leave your queries in form of comments, will be more than happy to help you.
Founder of TestingTools.co, constantly shares knowledge on different test automation tools. Has experience in building proof of concepts, solutions, frameworks, platforms & implementation of test automation projects.
In pursuit of building a platform with inbuilt framework and reusable components for Oracle Cloud applications ( Oracle HCM, CX, SCM, Financials clouds, Salesforce and other cloud applications )
Major accomplishments in his career:
Product architect and development manager for test automation platforms
Oracle Flow Builder @ Oracle
CloudTestr @ Suneratech
2 times to oracle open world
More than 20 successful POCs ( Proof of concepts )
Designed pricing models.
Trained more than 50 members.
Built more than 100 re-usable functions.
Worked with tools: