Effacer les filtres
Effacer les filtres

Can't find matlab.uitest.lock

2 vues (au cours des 30 derniers jours)
Arthur Roué
Arthur Roué le 24 Août 2023
Commenté : Arthur Roué le 31 Août 2023
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.

Réponse acceptée

Sai Teja G
Sai Teja G le 28 Août 2023
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 commentaire
Arthur Roué
Arthur Roué le 31 Août 2023
I came to the same conclusion.
Thank you for confirming it.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Verification, Validation, and Test dans Help Center et File Exchange

Tags

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by