Few years ago when we used ALM, test case prioritization was done based on Functional complexity, Customer Prioritization and Business Complexity. ALM had a set of question to answer under each category, that would automatically calculate Test Case Priority. In case of Emergency patches, we used the risk analyzed test cases for execution.
Hi There ![]()
I tried with an example and how effectively ChatGPT prioritize it
These are the test cases for E-commerce product that sells groceries. Please prioritize the test cases for regression from the below list
Categories Static page
About US Static page
User Registration
Grocery Search
Search Filter
Add to cart
Checkout page
Order Summary and Invoice
Refund
Login
ChatGPT Response was
Add to Cart: This is crucial as it directly impacts the shopping process. Any issues here can directly affect the revenue of the business.
Checkout Page: Ensuring that users can smoothly proceed to payment is essential for completing transactions. Any bugs here could lead to abandoned carts.
Login Page: Authentication is fundamental for user security and access to personalized features. Any issues here could prevent users from accessing their accounts.
User Registration: Similar to the login page, ensuring users can register successfully is crucial for user acquisition and account management.
Grocery Search: A functional search feature is vital for users to find the products they're looking for efficiently.
Search Filter: Enhancing the search experience with filters can improve user satisfaction. This feature should be thoroughly tested to ensure it works as expected.
Order Summary and Invoice: Users rely on this information for tracking their orders and for accounting purposes. Ensuring accuracy here is important.
Refund: Although not as frequent as other actions, the refund process is critical for customer satisfaction and compliance with consumer protection regulations.
Categories Static Page: While not as dynamic as other features, ensuring the static pages are accessible and display the correct information is still important for providing users with necessary information about product categorization.
About Us Static Page: Similarly, while not directly impacting transactions, the About Us page can influence user trust and perception of the brand.
As i expected, it gives least preference for static pages even though it placed on top when i prompted
Hi Testers!
Here is the sample blog I considered for todayβs task:
Blog Link: AI-Driven Test Prioritization.
Summary: Using AI to prioritize the test cases would be helpful for the testers and the developers as well, by analyzing the past test cases to give a better view of the test cases that might fail in future to the testers and a better sense of code debugging to the developers.
The collection of test cases can result in better and improved test coverage and hence improved software quality in a lesser time as compared to the human eye.
Prioritizing the test cases may result in the use of lesser time and effort while maximizing the software defects.
AI prioritizing must be used but should not be solely handled, there have to be human interventions for less chances of wrong data manipulations especially in case of the lack of data.