cancel
Showing results for 
Search instead for 
Did you mean: 

Test Suite: How Can I create automatic defects record after CBTA error?

04-11-2021 3:27 PM
813 views 5 comments
0 Likes
SAP Managed Tags
Subscribe

Hello experts,

We're using CBTA performing automatic test and when some tests failures, an email is provided to responsible of test case. I would like to automate this step and create an record (defect or incident) after some test errors from cbta occurred.

Best Regards,

Warlei

0 Likes

Accepted Solutions (0)

Answers (3)

Answers (3)

Ivan_Khudziakou
Product and Topic Expert
Product and Topic Expert

Hello,

There is no standard way to automatically create the defect in case if automated test case is failed. The reason for error in automated test could be either issue in the SUT, issue in the test script or issue in test data. So the root cause of the automated test failure should be evaluated before creating the defect message (especially taking into account that it could be different type of message).

Regards,

Ivan

0 Likes

Thank you Ivan!

AjayHS
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello,

There is no automatic defect creation for failed automated test script as the reason for failure can be script issue, data issue or application issue. Also procedure to reproduce the needs to be specified.

So one needs to create manually.

Thanks,

Aj

Former Member
0 Likes

Hello,

With the help of Test Plan and Test Package, in case your script gets failed or throw an error message, the same can be created through Tester worklist

SM_Workcenter --> Test Management --> Tester Worklist. Select a Test Plan, Test Package, and a select Test case that has failed appropriately. Click on "Create Error Message" which navigates to ITSM for defect creation.

However, for automation of this step as well, we might have to do some kind of customization as there is no standard option is there.

Please let me know if this helped you understand.

Thanks in advance.

Regards,

Danish

0 Likes

Hi Danish,

Thank you for your feedback!

Yes, I know this manual procedure and was not 100% clear if existed some standard way to do that.

Best Regards,

Warlei