We all have heard that Selenium QA tests are helpful, in fact they are suppose to be of the highest business value of any type of testing. But, They feel so dirty. Why is that?
Let's take a look:
Now that my gripe session is over, one question remains... Does the value justify the pain?
Your boss will say "YES!" emphatically... because QA tests are insanely valuable to a business whether we like it or not. Here is why:
Think about it, one tiny selenium test of someone logging in to an application hits ->
That's a lot for one test. try to match that with a unit or JMeter test...
We all have seen sphagetti code. For example, I've seen one single javascript file running on 50 different template pages producing literally 1000s of pages for a site generating millions in revenue a day. That file was a train-wreck, but essential to the business.
Scratch unit tests... scratch JMeter... the only solution was QA Selenium tests. We could slowly chip away at fixing the solution while knowing we weren't losing the company in the process due to regressions.
Being part of a big team can be scary. Getting code to work together takes constant communication, PR reviews, code comments etc. But the biggest solution is to run some QA tests on things, and release when they pass. Puts a smile on the face of every team member.