O
O
Oleg Mifle2017-06-01 21:25:51
Software testing
Oleg Mifle, 2017-06-01 21:25:51

How to compare dom models of two pages?

Let's say there is a page layout, the developer has integrated this layout into the site. Is there any tool to compare the dom models of the original layout and the layout after implementation? Comparing pages by content is not an option, of course, because. the content will vary in the same way as the tabs. I would like to check the location and presence of all the tags on the page.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2017-06-01
@sim3x

They check for the existence of a key element or several
A in unit tests, they check whether the template is loaded at a certain URL.
You can also compare what gives the URL and what gives the view with the same parameters

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question