December 2019
Beginner to intermediate
770 pages
16h 14m
English
With the helper function, we touch on the core of this test example – making use of a test page to achieve #0007, that is, testing that the user can assign a default customer category to a specific customer. The following is what the helper function looks like:
local procedure SelectAssignDefaultCategoryActionOnCustomerCard( CustomerNo: Code[20])var CustomerCard: TestPage "Customer Card";begin CustomerCard.OpenView(); CustomerCard.GoToKey(CustomerNo); CustomerCard."Assign default category".Invoke();end;
Note that I did not use a with-do construct to unambiguously show that the three statements in the function are referencing methods that you will only find on test page objects, and not on
Read now
Unlock full access