Hi, I want to click the control with type "RadButton":
string apppath = @"VisualDesigner.StandaloneApplication.exe";
WpfApplication wpfApp = Manager.LaunchNewApplication(apppath);
var xpathFieldEditor = wpfApp.MainWindow.Find.ByAutomationId("XPath _FieldEditor");
var editBtn = xpathFieldEditor.Find.ByType("RadButton");
editBtn.User.Click();
And for "editBtn.User.Click();" I recieve the following exception for - "An exception of type 'ArtOfTest.Common.Exceptions.FindElementException' occurred in ArtOfTest.WebAii.dll but was not handled in user code. Additional information: Unable to find the specified element: Unable to find the element of type: radbutton".
Are there any methods to click this button?
string apppath = @"VisualDesigner.StandaloneApplication.exe";
WpfApplication wpfApp = Manager.LaunchNewApplication(apppath);
var xpathFieldEditor = wpfApp.MainWindow.Find.ByAutomationId("XPath _FieldEditor");
var editBtn = xpathFieldEditor.Find.ByType("RadButton");
editBtn.User.Click();
And for "editBtn.User.Click();" I recieve the following exception for - "An exception of type 'ArtOfTest.Common.Exceptions.FindElementException' occurred in ArtOfTest.WebAii.dll but was not handled in user code. Additional information: Unable to find the specified element: Unable to find the element of type: radbutton".
Are there any methods to click this button?