AI-based Rules | Bondar Academy
Course: AI-based testing with testRigor
Module: Generative AI
Instructor: Artem Bondar
Lesson Summary
In this lesson, we explore the AI-based rule feature of the Test Trigger , which is designed to automate existing test cases. This feature is particularly useful for converting documented test cases into executable automated tests. Creating an AI-Based Rule Using the example of a test case from the Best Buy application, the steps are as follows: Document the test case, e.g., "User can save selected product for later decision." Input the test case description and steps into the Test Trigger. Upon running the test, the Test Trigger identifies non-standard syntax and suggests creating an AI-based rule. Execution and Results After creating the AI-based rule, the AI attempts to execute the steps: The AI successfully finds and adds the Kindle to the cart. However, the validation step fails as it does not perform the expected action. Reusable Rules All generated steps become reusable rules . Each rule is marked as AI-based, meaning the AI will adapt to changes on the webpage, such as the location of buttons. Users can: Uncheck the AI option to create traditional rules. Modify rules manually to ensure they perform the desired actions. Integration and Efficiency The Test Trigger can integrate with various test case management platforms, allowing for quick importation of test cases. This feature can significantly reduce setup time by automating the initial configuration of test scenarios. In summary, the AI-based rule feature in Test Trigger enhances test automation by leveraging AI to adapt to changing web environments, ultimately streamlining the testing process.