TestStack / White

DEPRECATED - no longer actively maintained
Other
1.02k stars 485 forks source link

Unable to identify Group element or any of the hyperlinks inside the group using Teststack.white automation framework #661

Closed arpitkup closed 4 years ago

arpitkup commented 4 years ago

I am trying to automate winform application using teststack white framework.I have hyperlinks inside the group that I need to click. I am using the following code after launching the application but unable to click on the link as I get the exception "Failed to get ControlType="Hyperlink, Name=Sports Management"

var mainwin = application.GetWindow("Name of the Window", InitializeOption.NoCache); var raceLink = mainwin.Get(SearchCriteria.ByText("Sports Management"));

Can anyone help with this issue ? image

I can get hold of the panes but when I try to get group or any of the hyperlinks inside the group, I get an error.