Okay, you’ve read Introduction to QA Strategy, and now you’re ready to build and run your smoke, happy path, and regression tests.
We support two different test types—those written using the Visual EditorVisual Editor - A tool that allows you to write tests using precise browser interactions with a live preview. Tests created with the Visual Editor (VE) run using either the Automation Service or Tester Community. (VE) and those created with the Plain-Text EditorPlain-Text Editor - A tool that allows you to write tests as step-by-step instructions in free-form English. Tests created with the Plain-Text Editor (PTE) run using either the Tester Community or your own on-prem testers. (PTE). You don’t need to choose just one; Rainforest allows you to combine both. Use both for a balanced testing strategy that takes advantage of human judgment and flexibility where needed and the speed/cost savings of automation when it’s not.
In this article, we cover:
- The tradeoffs you should consider as you evaluate which tests you plan to write using VE and when to execute them using Rainforest Automation or the Tester Community
- Which types of tests you can’t run using automation, as well as which tests can be run with automation but probably shouldn’t be
- Why you might want to write your tests using either VE or PTE
- Which types of tests are well suited for Rainforest Automation and Tester Community testing
Smoke tests are the core business-critical tests you run frequently—maybe several times a day if you hook them into your CI tool. Because these tests constitute your core functionality that likely doesn’t change often, you should automate them whenever possible. Thus, you can run them regularly without driving up costs—especially if you hook the tests into a CI pipeline. Moreover, you benefit from faster run times than you could expect from human testers (4 minutes versus 17 minutes on average).
In summary, write these tests using VE so they can be executed by Rainforest Automation.
These tests are designed to ensure product stability. However, because you run them less frequently than your core smoke suite, the benefits of automation are less apparent. Of course, faster and cheaper is usually better, but automation might not be better suited in this case.
As with all scripted testing—especially automated testing—test cases can break as your app changes. However, tests run using the Tester Community are less likely to fail after making small tweaks such as minor copy or layout changes. Of course, keeping tests up-to-date is always a best practice.
Rainforest testers are more flexible when running a VE or PTE test. So, you can save yourself some maintenance by using the Tester Community for happy path and regression testing.
Always test mobile functionality via the Tester Community. Though Rainforest plans to extend automation to mobile web and native app testing, we’re not there yet.
Sometimes tests leverage data that changes between runs, such as when you need to verify a username that's automatically generated and is never the same twice. These workflows cannot be tested via automation because they’re not deterministic; you can’t validate a screenshot of a UI element when the data or text consistently changes.
Some items require a person to exercise their own judgment. This is why having a balanced approach is better. Examples of items not suited for automation include CAPTCHA forms and test cases that require performing calculations or comparisons.
Rainforest tests written with VE rely on screenshots taken on a specific platform. Running these tests on multiple platforms using Rainforest Automation frequently exposes minor changes in how your website or application renders that don’t actually represent functional bugs. For example, your UX designer decided to change the text of a button from “Submit” to “OK.” Functionally, clicking the button triggers the same action, but the test fails.
When getting started with Rainforest, we recommend giving both editors a try. Tests written with the Visual Editor can be run using both automation and the Tester Community. When choosing the latter, we translate the actions and assertions into steps that can be performed by our testers. If there are tests that you plan to run using both methods of execution, writing them with VE allows you to leverage both.
With tests not suited for automation, you have a choice of editor. Use whichever one you prefer. The Plain-Text Editor requires writing your tests using free-form English, which allows the Tester Community to execute them quickly and efficiently. VE is intuitive and includes a Rainforest Virtual Machine to help guide you in writing your test cases, even if you don’t plan to automate them.
Rainforest gives you the tools to create a testing strategy that combines the best of both automated and manual, crowdsourced testing. We recommend that you:
Automate your smoke suite and run it on one platform once daily or multiple times per day.
Utilize the Tester Community for use cases not suited for automation.
Determine how much value automation provides when weighed against the cost of maintenance for your non-business-critical tests. The less frequently you run these tests, the lower the ROI for maintaining your automated tests. Take advantage of the flexibility of the Tester Community to save time on maintenance.
- Try out both methods of test writing for tests that are run exclusively using the Tester Community.
If you have any questions, reach out to us at [email protected] or via the chat bubble below.
Updated 2 months ago