I have created a T4 StyleId generator for Xamarin Forms. It does the following :
- Scans a given path for xaml files containing usages of StyleId="%value%"
- Generates a C# struct for the StyleIds, that can be used in your UI Test project.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies