Replace values in parameterized rules using AI
When creating AI-driven test cases, it's common to encounter steps that require reusable rules (RR) with specific parameters. To enhance efficiency in test creation, testRigor now automates the selection and parameterization of these rules. Once an AI selects a parameterized rule, it prompts for the necessary parameters, and adds the configured rule to the test case.
To achieve the best results, always include the reusable rule in the test case description, along with the exact parameters you intend to use. Ensure that the parameters match the required format for better AI-driven execution.
You can check the next example: We have a reusable rule named search for "product" in "section" section,
which allow us to search for a product in our website. We're going to add a parameter named PC
for the product, and one named Components
for the section. After we add this in the description, our AI will include this in the context, and it will use it for the steps generated.
Caption: Reusable rule already created in the test suite.
Caption: AI description with reusable rule and click “Generate actual test using AI”.
Caption: AI using reusable rule.
Caption: Check AI logs.
Caption: AI context using reusable rule.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article