How to control Inputs in Test Manager
조회 수: 5 (최근 30일)
이전 댓글 표시
I have an excel that has multiple tabs for different tests.
I have a matlab script that runs test manager.
How do I change which tab it runs?
At the moment I can only run the selected tab.
% Get test file
tf = sltest.testmanager.getTestFiles;
% Get test suite object
ts = getTestSuites(tf);
% Get test case object
tc = getTestCases(ts);
%find the sheets;
input = getInputs(tc);
%Select which tab to run here?
testItr = run(tc);
댓글 수: 0
답변 (1개)
Jesús Zambrano
2021년 2월 7일
Hey,
The following link shows an example of how to add excel data to Inputs selection
Hope it helps!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Inputs에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!