Search found 1 match

by Mariam637
Mon Aug 05, 2019 6:40 am
Forum: General Questions
Topic: How to find an element only by automation id/text in C#?
Replies: 6
Views: 4882

How to find an element only by automation id/text in C#?

I'm new to Ranorex and trying to use Ranorex's C# API for a Windows desktop application. How to find an element only by automation id/text in C#? Looking for something like, mainWindow.Get(SearchCriteria.ByAutomationId("<automationId>")) mainWindow.Get<Button>("<automationId>"); or mainWindow.Button...