Please use Application(backend="uia") for XAML apps. Also please provide more full code samples to see such things exactly not trying to guess (from previous question code).
Also please read the Getting Started Guide. 2 backends have different hierarchies and even some property names like class_name vs control_type.