You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot use CodedUI to create a test on a window that has multiple ToggleSwitch controls.
The automation ID for every toggle control is always "Switch", even though I have set up my own Automation.AutomationID in my XAML. Technically the problem, exists for a single ToggleSwitch too.
I can record commands to turn on/off the different toggleswitches, but on playback, of course, it only ever finds the first one.
Expected behavior
I expected my automation ID's to be used for the controls. I need to be able to turn the toggles on/off and be able to test against the control's state of "Pressed".
Screenshots
Environment(please complete the following information):
MahApps.Metro version v1.6.5
OS: Win10
Visual Studio 2017
.NET Framework 4.52
The text was updated successfully, but these errors were encountered:
I cannot use CodedUI to create a test on a window that has multiple ToggleSwitch controls.
The automation ID for every toggle control is always "Switch", even though I have set up my own Automation.AutomationID in my XAML. Technically the problem, exists for a single ToggleSwitch too.
I can record commands to turn on/off the different toggleswitches, but on playback, of course, it only ever finds the first one.
Expected behavior
I expected my automation ID's to be used for the controls. I need to be able to turn the toggles on/off and be able to test against the control's state of "Pressed".
Screenshots
Environment(please complete the following information):
The text was updated successfully, but these errors were encountered: