microsoft / EasyRepro

Automated UI testing API for Dynamics 365
MIT License
513 stars 285 forks source link

Validation Code #1359

Open jsaikartheek143 opened 1 year ago

jsaikartheek143 commented 1 year ago

How to write the Validation code for the Script in the Easy Repro Framework

Shakevg commented 1 year ago

jsaikartheek143 You should use the same approach for other tests depending on your Framework. E.g. using NUnit: https://github.com/microsoft/EasyRepro/blob/develop/Microsoft.Dynamics365.UIAutomation.Sample/UCI/Create/CreateOpportunity.cs#L67 Assert.AreEqual(expectedDate, date);