lundi 25 novembre 2019

Is testing web app with images comparision a good approach?

I was wondering if testing web application based on comparing images of a screenshot is used in the industry and if it's a good approach.

Scenario:
- model image is taken by hand
- test compares only selected parts of an image
- test is written in selenium for example
- test has always the same data to work on
- test is always running on the same screen (the same resolution)
- test will compare images after some steps (for example: if the user account page looks good after registration - we have always the same data for test)

Does this have some advantages? Is it 'stable' approach to testing web apps? Could it be useful as a last step of (for example) selenium test to verify the results? What do you think about it?

I did search about that topic but couldn't find any good resources.

Aucun commentaire:

Enregistrer un commentaire