edddy Posted June 17, 2010 Share Posted June 17, 2010 Hello, I am interning for a company and they use AutoIt scripts for performing automation tests on their GUI . They have upgraded their forms applications to WPF and my job is to come up with a solution as to how to make AutoIt access the wpf controls. I tried searching on the UIAutomation classes to see if I can make the controls visible while creating them. I need to know if there is a way to make the WPF controls accessible so that it can be used by AutoIt. Thank you very much and eagerly awaiting ur responses Warm Regards, - Eddy Link to comment Share on other sites More sharing options...
atzoref Posted March 15, 2012 Share Posted March 15, 2012 Is someone has an answer for that? Link to comment Share on other sites More sharing options...
Autolaser Posted March 26, 2012 Share Posted March 26, 2012 WPF applications is to automate with AutoIt difficult to impossible I'm working on a program with the same problem For WPS-Applications.Here are helpful programs to find the controls or class name.UI Spyhttp://msdn.microsoft.com/en-us/library/ms727247.aspxThe UI Spy tool enables developers and testers to view and interact with the user interface (UI) elements of an application. By viewing the application's UI hierarchical structure, property values, and raised events, developers and testers can verify that the UI they are creating is programmatically accessible to assistive technology devices such as screen readers.UI Spy uses the UI Automation libraries. UI Automation is the new accessibility framework for Microsoft Windows.Using UI Spy, developers and testers can check an application's level of accessibility by verifying the following:UI Automation property values for UI items.Control pattern implementation.UI Automation event information.Navigation and keyboard focusNoteUI Spy is installed with the Microsoft Windows SDK. It is located in the \bin folder of the SDK installation path (uispy.exe) or can be accessed from the Start menu (Start\All Programs\Microsoft Windows SDK\Tools\UISpy).or download herehttp://andrewtokeley.net/images/andrewtokeley_net/downloads/uispy.ziporRanorex Spyhttp://www.ranorex.com/gui-testing-guide/spy.htmlorWPF Inspectorhttp://www.wpftutorial.net/Inspector.htmlI hope the tools will help you a little bit. Regards Autolaser Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now