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 ///