I am completely new to JavaScript and I am struggling with XML request validation not sure to proceed further.
An XML file will get generated from application by clicking on the some button. The same content will be displayed in UI in one of the page.
I am automating my application using protractor using JavaScript.
Using JavaScript code I need to validate both the generated XML file data and UI data whether both are matching. (Mostly some node information's I need to validate as part of my comparison).
Please suggest me some approach or ideas to start my progress.
In all the blogs using DOM parser xml is fetched and used in HTML page.But here I have to compare the the xml with UI data.