How to control Inputs in Test Manager

2 ビュー (過去 30 日間)
Grace Edlin
Grace Edlin 2021 年 2 月 2 日
回答済み: Jesús Zambrano 2021 年 2 月 7 日
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);

回答 (1 件)

Jesús Zambrano
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!

カテゴリ

Help Center および File ExchangeInputs についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by