Can't find matlab.uitest.lock

5 次查看(过去 30 天)
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!

更多回答(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