diff --git a/docs/UIItems.md b/docs/UIItems.md index fe574193..619a6f79 100644 --- a/docs/UIItems.md +++ b/docs/UIItems.md @@ -4,13 +4,16 @@ Un-managed applications donot have such feature. In these applications the contr Within a window any UIItem can be identified based combination following criteria. -1. **AutomationId** is the programmatic identifier specified by the AppDeveloper. In WinForm and WPF this is the name supplied to the control. This is not present for SWT and Win32 applications. (applies only to .NET applications WinForm, WPF, Silverlight.) -For managed applications: +1. **AutomationId** is the programmatic identifier specified by the AppDeveloper. In WinForm and WPF this is the name supplied to the control. This is not present for SWT and Win32 applications. (applies only to .NET applications WinForm, WPF, Silverlight.) + For managed applications: + SearchCriteria searchCriteria = SearchCriteria.ByAutomationId("btnOK"); Button button = window.Get