How to create test cases , test steps and test set in test management 2.0 using Gen AI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2024 06:12 AM
As a developer how to create test cases , steps and test set in Test Management 2.0 using Gen AI ( without manual intervention )
Step 1 :
- find the all required tables
- for test case creation we need Test Version(sn_test_management_test_version) table
- for test steps creation we need Steps (sn_test_management_step) table
- for test set creation we need Test Set (sn_test_management_test_set) table
Step2 :
- create a flow in flow designer
- trigger form Agile Story or according to your requirement
Step 2 :
- Create three Gen AI action inside flow
1 Summarize :
select your field
2 Generate Content
take summarize response as a input and generate test cases and steps
3 Generic prompt :
- take generate content response as a input
- provide a json formate for test cases and steps (we use json formate because everytime response has changed ,So without a proper formate we can't save response test cases and steps )
Step4 :
- create a custom action for scripting (using script we can save the response test cases and steps)
- Add custom action in flow
Note(IMP)* :
-- First of fall try to find mapped between tables
-- Every child tables refer to parent table with a reference column
-- try to find and put parent table sys_id
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 10:48 AM
Hi Ajay, I have to provide a demo to my organization that we can use Servicenow to upload test cases and test steps. Can you please help me in providing a url to upload test cases? I am unable to figure it out.