From 64c8c1038eea77a4b83bf796cecc4634fa9da4bd Mon Sep 17 00:00:00 2001 From: Clive Galway Date: Mon, 10 Dec 2018 18:11:05 +0000 Subject: [PATCH] Fix merged code blocks and headings UIItem Identification had merged code blocks and headings for managed / unmanaged --- docs/UIItems.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) 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