События
Присоединение к вызову ИИ Навыков
8 апр., 15 - 28 мая, 07
Отточите свои навыки ИИ и введите подметки, чтобы выиграть бесплатный экзамен сертификации
Зарегистрируйтесь!Этот браузер больше не поддерживается.
Выполните обновление до Microsoft Edge, чтобы воспользоваться новейшими функциями, обновлениями для системы безопасности и технической поддержкой.
Примечание
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Version: Available or changed with runtime version 1.0.
Specifies that the method is a PageHandler method, which handles specific pages that are not run modally.
Примечание
The PageHandler attribute can only be set inside codeunits with the SubType property set to Test.
Version: Available or changed with runtime version 1.0.
[PageHandler]
procedure PageHandler(var Page: TestPage)
Важно!
The above signature requires the PageHandler method to be global. For more information, see Local and global scope in AL methods.
Version: Available or changed with runtime version 2.1.
[PageHandler]
procedure PageHandler(var Page: Page)
Важно!
The above signature requires the PageHandler method to be global. For more information, see Local and global scope in AL methods.
Page
Type: TestPage
A specific page.
Page
Type: Page
A specific page.
The PageHandler method is called when a non-modal page is invoked in the code.
You use handler methods to automate tests by handling instances when user interaction is required by the code that is being tested by the test method. In these instances, the handler method is run instead of the requested user interface. The handler method should simulate the user interaction for the test case, such as validating messages, making selections, or entering values. You declare a handler type attribute on the method. For more information about handler methods, see Create Handler Methods.
AL Method Reference
Method Attributes
Test Codeunits and Test Functions
События
Присоединение к вызову ИИ Навыков
8 апр., 15 - 28 мая, 07
Отточите свои навыки ИИ и введите подметки, чтобы выиграть бесплатный экзамен сертификации
Зарегистрируйтесь!