How long should an automated test pack take to run? Some people say that a certain number of minutes is too long, and others say that a different number of minutes is too long. How can we determine what is “too long”? And what can we do about it? What is an acceptable length of …
Tag Archives: TestAutomation
Gaining a knowledge of React is helping me automate tests
React is an open-source User Interface (UI) JavaScript library created by Facebook. I am doing some React tutorials to help me better understand the UI and what I am learning is helping me to automate tests. The React tutorials I am doing are here: https://react.dev/learn. The tutorials include exercises that can be done in a …
Continue reading “Gaining a knowledge of React is helping me automate tests”
Writing test automation standards is a journey, not a destination
I have started to automate tests in Playwright with TypeScript. I am now writing standards for the tests. I view writing the standards as a journey because I am adding to the standards as I learn more. I have started to create these standards because: I have found lots of useful advice in testing and …
Continue reading “Writing test automation standards is a journey, not a destination”
Why I don’t record automated tests
Recently it was pointed out to me that Playwright has a test generator and that I could use it to record tests. Many automated testing tools include a tool or extension that can be used to record tests. I don’t find them useful. My experience of using tools to record tests is that they record …
Automated tests do not have to be flaky.
When I create or maintain an automated test I use a “learning loop” so that I learn from the test results. This enables me to create stable test packs that return accurate results. I automate tests with Playwright using TypeScript and with the low code tool Ghost Inspector. The “learning loop” is the same for …
Make test automation easier with better feedback for parameters with TypeScript
We can make it easier to automate tests by giving feedback if incorrect values are passed as parameters. Developers can get feedback when they try to pass an invalid parameter if I use union types when using TypeScript. I have been using TypeScript to automate tests with Playwright. We often pass strings to functions as …
Continue reading “Make test automation easier with better feedback for parameters with TypeScript”
Improve test coverage by parameterising tests with Playwright and other tools
Automated tests can be run multiple times with different values by parameterising tests. Parameterising your tests can improve test coverage because a value in the test can be parameterised which means that the test can iterate through a number of values. This enables one automated test to cover a number of test cases. You could, …
Continue reading “Improve test coverage by parameterising tests with Playwright and other tools”
OpenAI contains tools that can help us with test automation
I often write javascript to manipulate the browser either as bookmarklets or as part of automated tests. OpenAI contains two AI tools that can provide solutions if I get stuck with a programming problem. OpenAI is a research organization focused on developing artificial general intelligence through natural language processing, robotics, and machine learning. Through OpenAI …
Continue reading “OpenAI contains tools that can help us with test automation”
Using front-end tests for Test-Driven Development
From time to time, development teams need to replace back-end architecture and when doing so they need to ensure that the application’s front-end functionality remains the same. These projects can vary in size, from short projects to long-running pieces of work. This process contains risk as the backend unit tests passing does not guarantee that …
Continue reading “Using front-end tests for Test-Driven Development”
The Five S’s create a structure for test automation
I use the Five S’s to create a disciplined structure that helps me create and maintain automated tests. Mary and Tom Poppendiek recommend using the Five S’s to create the discipline necessary to develop quality software. They wrote that “the five S’s are a classic lean tool to organise a workspace” [1]. Mary and Tom …
Continue reading “The Five S’s create a structure for test automation”
First impressions of test automation with Playwright
I have recently automated some tests using Playwright. It is a free-to-use Node.js library created by Microsoft that is designed to be used to automate end-to-end testing. Playwright supports chromium, WebKit and Firefox, and, by default, all tests are run on all three browsers. Tests can be run in headless mode. It supports, Java, .Net, …
Continue reading “First impressions of test automation with Playwright”
How to create a simple performance test with Puppeteer
Creating your first performance test can seem daunting, but it need not be so. This blog post is a guide to resources that you can use to create a simple automated performance test. A good tool to use to create a performance test is Puppeteer. Puppeteer is a node.js library that can be used to …
Continue reading “How to create a simple performance test with Puppeteer”
Which programming languages should a tester learn?
It is helpful for a tester to be able to program as it enables a tester to get a better understanding of the application they are testing. Being able to code also helps create test data, automate tests and build a better relationship with developers. But which programming language(s) should a tester learn? Over the …
Continue reading “Which programming languages should a tester learn?”
Use Low Code as a springboard for learning
I have been using Ghost Inspector to automate tests that run through the UI for a few years. It is an automation tool which says “No coding required”. If you are not a programmer you can use Ghost Inspector to automate tests. You can also use Ghost Inspector to learn about development practices and coding. …
Continue reading “Use Low Code as a springboard for learning”
Learning JavaScript is helping me to test
I am learning JavaScript because it helps me in so many ways when I am testing. Many apps have JavaScript sandboxes that enable you to write some JavaScript that adds to your testing. Examples of where you can write JavaScript are the Tests tab in Postman, and browser dev tools which enable you to write …
Continue reading “Learning JavaScript is helping me to test”