From 60cfc591ad66c782d12a9979550929e180a29bea Mon Sep 17 00:00:00 2001 From: Max Ewing Date: Thu, 17 Dec 2020 04:09:26 +0700 Subject: [PATCH] fix: GetValue missing for quick create datetimes (#1044) --- .../Elements/QuickCreate.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Microsoft.Dynamics365.UIAutomation.Api.UCI/Elements/QuickCreate.cs b/Microsoft.Dynamics365.UIAutomation.Api.UCI/Elements/QuickCreate.cs index 58964a42..b62e54db 100644 --- a/Microsoft.Dynamics365.UIAutomation.Api.UCI/Elements/QuickCreate.cs +++ b/Microsoft.Dynamics365.UIAutomation.Api.UCI/Elements/QuickCreate.cs @@ -72,6 +72,16 @@ public string GetValue(string field) return _client.GetValue(field); } + /// + /// Gets the value of a DateTime field in the quick create form. + /// + /// The control. + /// The value. + public DateTime? GetValue(DateTimeControl control) + { + return _client.GetValue(control); + } + /// /// Gets the value of a LookupItem field in the quick create form ///