extend chrome test to cross-browser test: screenshots are the problem
Hi all,
I got a really good and stable running test (keyword tests), that checks websites in Chrome.
As our software supports also supports IE11 and lateron Edge, it is always on my mind to run the test with other browsers (IE11 or Edge) as well.
So I am thinking how I can improve my test to run with other browsers as well. I also read http://support.smartbear.com/viewarticle/70762/ some time ago.
As far as I see my test can do most stuff needed for such cross browser testing
- starting the test with different browsers > this can easily be implemented
- as our namemapping is really clean and stable the test will run stable (already checked), only some minor issues will have to be fixed
The only problem is, that we heavily rely on screenshots (as we really want to check the stuff the user is faced with).
These screenshots do look differently in different browsers. The data shown is correct, but the difference is too big to be handled with masks.
So how can I handle this?
The complete teststructure (keyword tests) can stay the same, only there have to be different baseline pictures for each browser.
1) make a copy of all the tests, one for chrome, one for ie11 >> no good solution, twice the maintenance effort
2) in front of each checkpoint checking if current browser is chrome or IE >> no good solution inserting > 1000 if-else-statements in keyword tests
Any help appreciated.
Best regards,
Joachim