Report
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2024 10:42 PM - edited ‎07-24-2024 10:44 PM
Hello Community,
1)I need to Create a Report that shows the Test Results Failure and Success Status in the Report.
My Requirement is to show the Latest Run Results and the results need to freeze and next time when i run the Test Suite it need to show me the Newly Run Test Suite Results in the Report and the Old Results should not Show these New need to be shown till i run test Suite.
How can i Achieve this Functionality?
2)Can i able to Add a Custom Button on the Dashboard?
Thanks,
Daiva
- Labels:
-
llo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2024 01:49 AM
Mark all the old ones as 'old' and then this should do the trick from now on:
//Only trigger on insert, because it only needs to run once
var oldTest = new GlideRecord('sys_atf_test_suite_result');
oldTest.addQuery('u_test_state','new');
oldTest.query();
if(oldTest.next()){
oldTest.setValue('u_test_state','old');
oldTest.update();
}
current.u_test_state = 'new';
current.update(); // depending on your conditions is the update is needed
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2024 03:39 AM
Not working
Can you please Suggest me some other
It's not changing to any state It is leaving blank.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2024 05:49 AM - edited ‎08-05-2024 05:49 AM
Hello @Mark Manders
Test Suite Results Table contains Suites and when this suite run the Test State has to Update Dynamically to New when the New result is Created and the Older Results need to set state "Old" using Flow Designer.