Where to begin when learning about GUI test automation?

We are finally starting to automate our GUI tests for a product I am working on.

Unfortunately, I recently became the sole QE member of the team as just a Jr. QE with very little automation experience. Thankfully, our front-end developers have been helping drive the development of the automated tests, but there is still a lot of ground to cover.

Without any more senior QE team members to learn from (or any QE members for that matter), I am pretty lost on how to approach any of this. I can write the tests, but I am having a hard time deciding what is actually worth testing and what is something that doesn’t need any GUI testing for it.

Can anyone recommend any good resources that I can read through to help me better understand where to start when identifying potential areas for automated tests?

Thank you.

2 Likes

Oh, I feel for you. It’s hard enough being experienced and the only test-focused team member.

I can give you some broad guidelines:

  • Start with what you have to automate - if you can’t do anything in the application unless you’re logged in, you have to automate logging in. Navigation may be another must, depending on how the application manages user sessions.
  • Look for high-value areas. If you’ve got something where the same steps are used but there’s a lot of variation (like selling items with different tax configurations), you’ve got an opportunity to set up some effective regression - especially if the application is a bit short on unit tests.
  • Look for the parts of the application that get the most use and/or throw the most bugs and/or have the least unit test coverage.
  • Start simple and try to keep it that way. It’s in the nature of any form of code to get more complicated the more you work on it. Test automation isn’t immune.
2 Likes

UI tests are always brittle. Kate already gave plenty of tips on deciding what to automate, there are loads more, but I’m going to just give this warning tip.

Assume that things will break often, and set expectations accordingly and don’t work yourself to death fixing the tooling. This means that some areas are not good candidates, and that others where a test is time consuming to do manually probably are your best candidates.

/edit GUI automation is tough, whenever it gets crazy, step back and find ways to put fun or sense of purpose back into it.

1 Like

Although you’ve negatively framed your current situation, to me, it sounds like you have a great opportunity to make an impact and add value where your previous peers didn’t.

The fact you’ve posted asking for direction is also positive, and shows you want to learn and care about the quality of the task ahead. Support from the developers is also a significant resource, and its not a given developers will or can always help.

To answer your question, without knowing what exactly you’re automating (GUI is a little broad) MoT is obviously a great place to start - but I’d encourage you to look at Test Automation University, look up people such as Alan Richardson and Kevin Lamping on Youtube and check out some of their work.

I echo the other tips here; Keep test small and low maintenance. Ensure each test has value, and map that out as you go. Expect walls, and expect to bypass some, but not all of them. Be creative with your automation, and have fun with it.

I hope it works out for you.

2 Likes

The below resource has somenthing for all types of automation and is free.
Have a look.

1 Like