i am using UIPath in visual studio and i am able to get the current focused element but i want to know the Control Type like whether it is TextBox or button etc.,
By using this i am select particular element form the screen and i am get its details in uiNode Object but how can i know the control type.
if you want to know the control type then move to Properties—>Selector …then you can view the control type, Id, name, etc… So please check it once…
Plz be revert with your response
Call the .Get(string propertyName) method on UiElement object, f.e.: Console.WriteLine(myElement.Get("tag"));
Note that depending on what property you’re querying you will get a different type in return (most of them are strings, but not all).