Hello,
I have a problem with Visual Studio Coded UI Test for Wizard control. Coded UI Test can't find the navigation buttons(next, back etc) with error:
The playback failed to find the control with the given search properties. Additional Details:
TechnologyName: 'UIA'
ControlType: 'Button'
AutomationId: 'PART_NextButton'
Search may have failed at 'Wizard' Pane as it may have virtualized children. If the control being searched is descendant of 'Wizard' Pane then including it as the parent container may solve the problem.
As I understand test framework cannot find button container using the following parameters:Could you explain me how I should configure search parameters for searching navigation buttons.
[Modified at 07/04/2011 09:44 AM]
I have a problem with Visual Studio Coded UI Test for Wizard control. Coded UI Test can't find the navigation buttons(next, back etc) with error:
The playback failed to find the control with the given search properties. Additional Details:
TechnologyName: 'UIA'
ControlType: 'Button'
AutomationId: 'PART_NextButton'
Search may have failed at 'Wizard' Pane as it may have virtualized children. If the control being searched is descendant of 'Wizard' Pane then including it as the parent container may solve the problem.
As I understand test framework cannot find button container using the following parameters:
this.SearchProperties[WpfPane.PropertyNames.ClassName] = "Uia.WizardButtonContainer";
this.SearchProperties[WpfPane.PropertyNames.AutomationId] = "PART_ButtonContainer";
this.WindowTitles.Add("Wizard QuickStart");
this.WindowTitles.Add("Wizard QuickStart - Interior Page");
[Modified at 07/04/2011 09:44 AM]