All-Inclusive Guide to Test Case Creation in testRigor
Test cases fuel test automation tools. Over the years, the process of automating these test cases has undergone many changes. With modern tools like testRigor that intelligently create test cases, the process has just gotten easier. This intelligence can be attributed to AI and its flavors, like machine learning (ML), natural language processing (NLP), and generative AI.
With testRigor, you can create codeless test automation in plain English language. When it comes to clicking elements on the screen or entering text strings into fields, or any other UI interaction for that matter, you simply have to write what you see. There’s no need to mention implementation details like XPaths or CSS values.
But guess what? testRigor has more simple ways to create test cases. You might wonder what’s simpler than writing test cases in natural language. Read on to know them.
Method 1: Write it Yourself in English
This is the ‘OG’ way of building automated test cases in testRigor. In the test editor, you can write English commands that resemble plain English. As with testRigor, there’s no hassle in mentioning implementation details of UI elements, just simple English statements.
Here’s how a test case in testRigor looks like:
login
click on “My Profile”
enter “1403, Ashley Street” into “Address”
click on “Save”
check that page contains “Profile Saved”
You can read more about creating a test case yourself in testRigor over here – How to do End-to-end Testing with testRigor.
Method 2: Generate Automatically through Generative AI
If you want to further employ technology to make test case creation easier, then generative AI is going to be a game changer for you. testRigor offers the benefits of generative AI at different stages of test creation.
Let’s talk about creating test cases based on feature descriptions first. This is a powerful capability that allows you to generate multiple test cases based on a detailed description of the application under test. You can even upload images or diagrams to help the AI understand the application better. The more detailed your description, the more accurate and meaningful the AI’s output. This is a great way to save up on time and generate multiple test cases at once. You can then tweak these test cases as needed.
You can read more about using this feature over here – How to Create Tests in Seconds with testRigor’s Generative AI.
An extension to the generative AI capabilities of testRigor is the ability to convert statements that are different from the syntax testRigor expects into AI-generated reusable rules. This capability comes in handy when you are copying manual test cases (from test management tools maybe!) into testRigor and have statements like “Fill the application form” or “Go to Dashboards page”. On encountering this command, testRigor gives various options, one being the ability to convert the statement into a reusable rule. If you choose the ‘Create AI-based rule‘, then testRigor will use AI to create the corresponding steps for you. You can always go and tweak the auto-generated steps under the Reusable Rules section.
As we mentioned, you can import your manual test cases from test management tools or copy-paste them in testRigor, and with small tweaks you are ready with test automation. Here are the guides for TestRail, Zephyr, ALM, PractiTest.
You can read more about using the Reusable Rules feature here – How to create AI-based reusable rules using testRigor?
Method 3: Simple Record-and-Playback
testRigor has a browser extension that can be used to record test cases while you execute them. Once you stop the recording, it will generate the plain English equivalent of the test case you just performed, which can then be run directly in testRigor.
领英推荐
This is a great way to record simple test cases, especially for those who are new to QA.
You can read more about using this feature over here – How to use testRigor’s test recorder for record and playback testing?
Method 4: Create Test Cases with Live Mode
Live mode is one of testRigor’s unique offerings. It lets you record and analyze UI interactions in real-time. It differs from the record-and-playback in the following ways:
Apart from using the live mode for creating tests, it is also possible to use it to debug test cases.
You can read more about using this feature over here – How to Create Tests Using Live Mode in testRigor?
testRigor’s Capabilities
Apart from the simplistic test case design and execution, some advanced features help you test your application using simple English commands.
Additional Resources
--
--
Scale QA with Generative AI tools.
A testRigor specialist will walk you through our platform with a custom demo.