필터 지우기
필터 지우기

How to convert test case to 'Real-Time Test(Simulation Test)' programmatically?

조회 수: 5 (최근 30일)
Donovan McGraw
Donovan McGraw 2021년 6월 14일
댓글: Szilard Hegyi 2023년 1월 17일
I am trying to write a script to run a series of test cases and would like to open Test Manager as little as possible. I have found that you can programmatically create a test case and specify the type as either 'baseline','equivalence', or 'simulation'. However, I have not been able to find a type to create a test case for real-time simulation without having to open Test Manager. Is there a way to do this?

답변 (1개)

Alex Howard
Alex Howard 2021년 8월 13일
Hi Donovan,
It sounds like you would like to be able to programmatically 1) create a real-time test or 2) convert an existing test case to a real-time test case.
Looking at the documentation for the sltest.testmanager.TestCase class, the TestType property does not appear to support real-time tests. Additionally, the RunOnTarget property, which indicates if a test case is configured to run on a target, cannot be changed, as the set access is private. The convertTestType function does not appear to support real-time tests, and I do not see another function to convert the test type.
The above leads me to believe that this is not currently possible. I've passed this feedback on to the development team so that they might consider implementing this functionality in a future release.
Best,
Alex
  댓글 수: 1
Szilard Hegyi
Szilard Hegyi 2023년 1월 17일
May I ask, is there any update on this topic. Would be useful to have this feature. Thanks

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Test Execution에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by