Can't find matlab.uitest.lock

조회 수: 5 (최근 30일)
Arthur Roué
Arthur Roué 2023년 8월 24일
댓글: Arthur Roué 2023년 8월 31일
I'm using uitest framework to test an UI.
During the tests, I need the user to interact with a pop-up (uiconfirm).
So I used matlab.uitest.unlock. But after user's anwer, I want to lock again the figure, but I couldn't find how.

채택된 답변

Sai Teja G
Sai Teja G 2023년 8월 28일
Hi Arthur,
I understand that you are looking for a way to lock the UI after unlocking it.
There is no specific method to lock the framework after unlocking it. The purpose of unlocking the uitest framework using 'matlab.uitest.unlock' is to allow user interaction during test automation.
Hope it helps!
  댓글 수: 1
Arthur Roué
Arthur Roué 2023년 8월 31일
I came to the same conclusion.
Thank you for confirming it.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Testing Frameworks에 대해 자세히 알아보기

태그

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by