r/softwaretesting • • Mar 26 '24

QA Manager think that automation with selenium are useless

My manager think that developing QA Automation for web and mobile are useless because it cant detect more bugs compare to manual QA team. I came here with existing framework for selenium so I do maintaining and developing the scripts while working on mobile as well.

But the thing is they found QA automation useless because it wont detect more bugs compare to manual QA, resource wise there is much more people in Manual QA rather that Automation team.

So QA manager saying we should halt the developing new scripts for QA since it wont detect bugs.

What i've been developing is the end to end process of functionality, but we only have like less than 100 regression script. how it will find a bug with limited scope. I felt like I'm on a verge of being laidoff because of this. I've been saying that QA automation did not work like that. My function is to speed up the repeating process of manual QA so they can focus more on new things to test.

I felt like useless and unmotivated to this organization. I'm literally quiet quitting due to this, They wont listen to any of my feedback, whatsover felt like I'm not belong to this team I've been here for like 2Years but pay is good and it's a remote. 1 of my team was laid off as well. feels like Im the next one.

Due to this reason I want to move to software dev. as well this job is thankless, no one appreciate this job.

49 Upvotes

47 comments sorted by

73

u/ResolveResident118 Mar 26 '24

He's not entirely wrong. Automation isn't necessarily there to catch bugs. It's main purpose is to free up time for the testers to focus on good, exploratory testing.

Due to that, UI testing is often problematic, in that it takes a lot of time to set up and maintain. If this is taking more time than it saves then it is not worth the effort.

Other forms of testing such as API testing can often give a better return.

2

u/beastczzz Mar 26 '24

This is what im telling to manager, we should go to api testing rather than UI. It sucks when no one want to hear you.

25

u/chr1ssb Mar 26 '24

This! You don't want your automation to find bugs. You want your automation so good, that it proves there aren't any bugs.

Also, by letting the automation do the dull repetitive stuff, the manual testers can focus on the interesting stuff, eg exploratory testing and areas of the application that might not be ready for automation yet.

12

u/asmodeanreborn Mar 26 '24

You don't want your automation to find bugs

Is this actually true, though? I find my tests catch regressions quite a bit - which means nobody even has to start manual testing as the engineer can't move their story to "ready for testing" without the tests passing. :)

I guess it's all dependent on how you define "bugs," as some places won't call something a bug/defect unless it's in production.

20

u/Regular_Run_9695 Mar 26 '24

The primary purpose of automation will always be to give the team enough confidence that no existing flow is broken.

Finding bugs from that is just a bonus. If the engineers are good, automation wont find the bugs that does not mean that our testsuite is useless.

4

u/asmodeanreborn Mar 26 '24

If the engineers are good

While engineers should obviously try to not produce any defects, I don't think I've ever worked with one who didn't, nor have I consistently written defect-free code myself at any point in my career.

I'd argue I've worked with some absolutely brilliant engineers as well, but aside from a single contract on medical equipment software 20 years ago, I haven't worked with anything heavily regulated.

I think we're saying the same thing, though. Automation is there to inspire confidence and help us work/produce things faster.

→ More replies (1)

6

u/ResolveResident118 Mar 26 '24

If your automation (or manual regression) is regularly catching bugs then either your system is too complex, your changes are too big or you need to improve refinement.

3

u/asmodeanreborn Mar 26 '24

"Too complex" is one way to describe a 20-year old system that does every little thing you can think of and has tightly coupled logic that can't be easily refactored.

Imagine opening putting in a new water filter in your fridge, and your garage door opener is triggered. That's why we need test automation.

3

u/ResolveResident118 Mar 26 '24

Yup. That'll do it.

Ideally, the number of regressions would be used to argue for, if not a rewrite, at least extracting and simplifying some of the code.

We don't live in an ideal world though.

2

u/chr1ssb Mar 26 '24

If your automation is catching bugs, then it's getting expensive: You need to analyze. Was the test just flaky? You need to retest it manually. You need to file that big report.

This is imho the reason why you don't want automation to find bugs.

3

u/2ERIX Mar 26 '24

A bug wouldn’t be defined as anything you listed, it would be developer code issue.

For those not running tests in pipeline and the tests blocking a build (due to functional development error found) you will probably never understand the true value of automation.

→ More replies (3)

1

u/tus93 Mar 27 '24

If you’re regularly finding bugs in pre-release regression then it may be worth breaching that topic in a retrospective meeting (if you have them) or raising it as a concern in some way.

If it’s a regression being done as a part of pre-manual test deployment procedures though, that’s a really good use of the tool but likely not what the original commenter meant by regression.

Bugs in regression should be a rarity and if they’re occurring so much it may be a sign of developers needing to improve their standards, as

2

u/asmodeanreborn Mar 27 '24

If it’s a regression being done as a part of pre-manual test deployment procedures though, that’s a really good use of the tool but likely not what the original commenter meant by regression.

I should have been clear - these are the tests that run when a branch/milestone/unit of work is deployed to a test environment. The set of tests that run in staging is different and very rarely catch something - and if it does it's usually configuration-based (caching or concurrency issues, for example - stuff that is just a tiny bit different from test to prod). Ideally, the developer should have run a subset of these tests locally already based on whatever tags apply to the areas they worked on, but things slip through the cracks, and to be entirely fair, what breaks the most often is something they thought they didn't touch.

It's the joy of working with a 20+ year old software product. It's making us money, but it's a lot like playing with live explosives.

→ More replies (1)
→ More replies (1)

7

u/2ERIX Mar 26 '24

I wish I could give you more than one like for bringing up exploratory testing. Exploratory and automation are the best pairing of test patterns that will ever happen to an organisation.

12

u/Justin_Peter_Griffin Mar 26 '24

Automation isn’t a good “replacement” for manual testing. It can just greatly reduce the manual testing workload. You don’t need a person to check to make sure a textbox is enabled when the checkbox is clicked every time they test the site. That’s where automation comes in. But a person is much more likely to find more nuanced issues with the software, especially from a visual UX perspective.

10

u/Regular_Run_9695 Mar 26 '24

Why is your manager expecting automation to find new bugs?it will never happen. Autimation is the safety net that gives the whole team the confidence that there are no regression issues.

You should focus on doing insprint automation for new features and run the new tests in parallel while devs work on it, that will catch new bugs.

If automation bugs is a success metric for the automation then its bad. The whole thing is set up to allow the team to deliver features quickly, manual alone will be counter productive

Edit : reminding that UI E2E tests are not the only option, start implementing api tests, encourage devs to write unit tests as well

5

u/ToddBradley Mar 26 '24

Why is your manager expecting automation to find new bugs?

Regressions are new bugs. Developers break old code in new ways every day.

3

u/2ERIX Mar 26 '24

But you didn’t answer the question really, it’s because the manager is not quality focussed, and not cost aware, and really has no place as a manager. If increasing manual is his plan he won’t last long once someone with a bit of grunt can stand up to him at the leadership level.

2

u/ToddBradley Mar 27 '24

Maybe, maybe not. Keep in mind we are hearing the management motivations and actions third hand here.

3

u/franknarf Mar 26 '24

If you are shifting left you can write the automation before the code gets delivered.

2

u/Bartholomew- Mar 27 '24

I never really got this.

How people manage to write bugless and precise e2e automation code against a functionality which has not been implemented yet?

I always end up fixing automation code after feature implementation. There so many changing factors which the automation depends on and that dev doesn't know tell about yet..

2

u/ConcentrateHopeful79 Mar 27 '24

In order for it to work, tests should test behaviour instead of implementation details. Suggest learning React Testing Library and its best practices, it helped me understand this approch.

→ More replies (1)

1

u/franknarf Mar 27 '24

With API it's not too difficult as long as your contract is solid.

6

u/ConcentrateHopeful79 Mar 26 '24

I don't know your organization's code but have seen plenty of useless (and bad performant) selenium tests in my exp, to the point of not wanting to run them at all.

Are you sure your manager dislikes automation or dislikes the automation available at the moment?

I suggest stepping back and looking for opportunities to carefully review fundamentals with QAs and manager to understand the value your tests are bringing. Bad things in the framework? Define steps to make it good, refactor, delete tests. Good things in the framework? Keep it up.

Whatever the outcome of this meeting, you should succed. Good luck!

5

u/ToddBradley Mar 26 '24

My function is to speed up the repeating process of manual QA so they can focus more on new things to test.

This is exactly right. If your manager doesn't understand this, he needs to learn more about software test engineering.

In my experience, it's important to have both SDETs and testers. The first write automation to catch regressions. The second find bugs in new features. Both are necessary.

no one appreciate this job

That's not really true. Good test managers appreciate the job. So find a job working for a good test manager.

4

u/SlaysDragons Mar 26 '24

It sounds like you have a bad, and maybe incompetent, boss. A good boss makes their team feel heard and valued regardless of any differing viewpoints.

It definitely sucks when that manager makes you want to switch career tracks. You should definitely look for another job now. I wouldn’t avoid QA positions completely. Just interview them back and make sure you’re on the same page as your future boss.

2

u/ClassroomOverall2472 Mar 26 '24

The existing framework might need be up to the mark. Please check if the tests automated are high value or not. Tests/flows that are high value functionally and more often used by the users should be automated first. Then automation makes some sense otherwise relying on the manual execution is the only option left.

2

u/isaacbunny Mar 27 '24

You need data.

  • Time saved by the number of times a test was run with automation instead of manually

  • Time saved by catching a broken build in the pipeline that would have otherwise been handed off to QA, leaving them blocked and twiddling their thumbs or running useless tests on a builf that would be abandoned.

Compare this to the time needed to build the framework and scripts. It will probably be negative, but that is just time spent/used to date.

Next, project the time savings over a year, and compare that to the effort needed to maintain the framework and tests. Assuming that is positive, you can show that the payoff is that automation keeps your test cycles managable as the feature set grows.

Your regression suite is only going to grow. If you’re testing everything manually, you need to either hire more and more QA or accept unpredictable regressions.

1

u/Geekmonster Mar 27 '24

My automated tests have found 45 bugs in 6 months.

We don't have time to manually test everything for regression.

1

u/DaBestaTesta Mar 27 '24

Automation is for regressions it’s purpose is so you don’t have too

1

u/Money_Reference_598 Mar 27 '24

The idea of dividing a standard testing process into manual and automated parts was flawed from the beginning, but it may be too late to address it now. Let's talk about your current situation. You should have a serious conversation with your manager about setting testing goals, whether they are manual or automated, and not evaluating their effectiveness based on the number of bugs they find. The goal of testing should be to gather information about the state of the object being tested based on specific conditions in specific contexts, to determine whether the object is doing what it should be doing or not. Evaluating the effectiveness of testing actions based on the number of bugs they find is a mistake that a manager should not make.

Now, let's talk specifically about automated testing. Does automated testing speed up the manual QA process? Yes, of course, but not all of it. It can also help us perform testing tasks that we wouldn't normally be able to do manually, such as running a series of complex and comprehensive simulations of user actions over an extended period of time - to determine if the application has any issues with time zones, for example. And many other useful applications. Don't limit your capabilities to just writing repetitive script scenarios and think that's your value. Expand it, and maybe your manager will have a different view of you.

1

u/Additional-Plate-617 Mar 27 '24

First of all automation cant replace Manual testing. Automation is usually being used for repetitive tasks such as data creation and regression testing. Objective of automation is debatable bcoz its being used for multiple purpose now. How would you make sure if everything works fine before a major release. Enterprise level products are having huge set of test cases and cant be tested manually for each regression cycle. Thats where the automation is useful. Be it Selenium, Appium or Rest-assured. The objective remains same.

1

u/tus93 Mar 27 '24

Automation shouldn’t be catching bugs, it should (in an ideal world) be giving you confidence as part of your pre-release process. That being said though it’s really good for removing the need for manual regression and smoke testing, which is great!

The other thing to ask is how much of your product is actually browser-based? If browser-based products aren’t a main focus of your team overall then selenium’s usefulness is reduced as it’s only able to work with browsers.

1

u/Extreme_Sink42 Mar 27 '24

So you don't do regression testing? For RT automatic testing is king. Imho

1

u/Zestyclose_Web_6331 Mar 27 '24

Yeah, it's used just for regression only, don't know why it's given more importance and salaried than manual.

1

u/DeI-Iys Mar 28 '24

Are you doing regression manually? Every build? How much time it takes? Do you have time to do an exploratory of the new functionality?

1

u/unsavvykitten Mar 28 '24

Fun fact: we’re a two developers company, and we use Selenium tests BECAUSE otherwise we wouldn’t have enough time for implementing new features.

Yes, setting them up takes time, but after that it speeds up development significantly because you don’t have to look for the regressions every time you have added a new feature. In the end, it’s all about time to market.

1

u/FearAnCheoil Mar 26 '24

Manager doesn't understand the value of test automation. You're not happy with the culture. Leave as soon as you can. Your mental health is more important than trying to convince someone who should know better.

1

u/[deleted] Mar 26 '24

I honestly think with the improvements in the low code/no code tools and using AI, automation is going to struggle in the future. I think moving into development might be a smart move!

2

u/darkkite Mar 27 '24

automation jobs could struggle but it wont be because of low code tools. they've existed for years syntax/writing is usually the easy part. the hard part is creating a high-value test that passes when you want and breaks when it should. Also optimizing via apis or other hooks.

However a business would rather hire a developer and make them do it like they should for unit tests. Though i've found most developers aren't great in test discipline so having a dedicated role will usually lead to better results as it keeps you thinking about quality