Reports have always been a substantial part of many Business Central projects and solutions. It makes perfect sense to have a look at how to test them in an automated manner. Now, how do we go about doing that? In this example, we will work out testing the dataset being created by a report. Layout testing is another job to do, and one outside of the testability framework.
Test example 7 – how to test a report
Customer wish
Our customer's wish describes that the Lookup Value Code field of the customer has to be carried over to the various sales documents. The logical consequence, even though not explicitly stated, would be that each printed version of these documents would have to be extended with this field. Note...