Sign in to follow this  
Followers 0
edddy

need help using AutoIt with Wpf

3 posts in this topic

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

Share this post


Link to post
Share on other sites



Is someone has an answer for that?

Share this post


Link to post
Share on other sites

WPF applications is to automate with AutoIt difficult to impossible :oops:

I'm working on a program with the same problem :bye:

For WPS-Applications.

Here are helpful programs to find the controls or class name.

UI Spy

http://msdn.microsoft.com/en-us/library/ms727247.aspx

The 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 focus
Note

UI 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 here

http://andrewtokeley.net/images/andrewtokeley_net/downloads/uispy.zip

or

Ranorex Spy

http://www.ranorex.com/gui-testing-guide/spy.html

or

WPF Inspector

http://www.wpftutorial.net/Inspector.html

I hope the tools will help you a little bit.


Regards Autolaser

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0