bcquality/microsoft/knowledge/testing/use-testpage-visible-enabled-to-verify-field-ui-state.bad.al
Michael Dieringer 1028aacd4f Add 3 more AL/BC patterns from CURABIS Academy testing course material
Third batch from CURABIS ApS: item-ledger-entry document-no lookup after Ship-and-Invoice posting, TestPage.Visible()/.Enabled() as the mechanism for verifying field UI state, and LibraryUtility.GenerateGUID() for collision-free test fixture values.
2026-09-21 22:34:40 +02:00

14 lines
365 B
AL

codeunit 50131 "Sample Customer Type UI Test"
{
Subtype = Test;
[Test]
procedure CustomerTypeFieldIsEnabledOnCustomerCard()
var
CustomerCard: TestPage "Customer Card";
begin
// Confirms only that the page opens - never checks the field's actual UI state
CustomerCard.OpenView();
CustomerCard.Close();
end;
}