Get assessments associated with test case
assessments = getAssessments(tc)
assessments = getAssessments(tc) returns the assessments for a test case
Get Assessments from Test Case
Get the assessments from a test case and view the details of the first assessment.
tf = sltest.testmanager.load('test_traffic.mldatx'); ts = tf.getTestSuites; tc = tf.getTestSuites.getTestCases; assessObjs = tc.getAssessments; assessObjs(1)
ans = Assessment with properties: Name: 'Waiting cars' Enabled: 0 Info: "At any point of time, NumCars must be greater than or equal to int32(0)" Requirements: [0x1 struct] Symbols: [1x1 sltest.testmanager.AssessmentSymbol]
Introduced in R2022a