Sign in to follow this  
Followers 0
sqa

testing WPF

6 posts in this topic

Hi,

I just got for testing my first WPF application and wondering if it is possible to use autoit for the automation or I have to look for other possibilities?

Thanks

Share this post


Link to post
Share on other sites



sqa, do you really believe anyone will be able to answer your question with that amount of info? How about you share:

  • What the WPF app is doing
  • What you want to automate within it
  • What you have tried on your own.
  • What specific problems you're running into.

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

hm, never thought about it, OK, let me try to be little bit more specific

1. this is a UI based application with a main dialog and buttons on it, pressing these buttons opens new forms in the main dialog or out of it.

Pressing buttons on that forms you can add some objects like new printers with their properties that user can edit. Text boxes with data in.

So pretty much that's it.

that's why if it would be a regular Windows app I wouldn't have problems with it using AutoIt, but developers desided to make it look "cool" and used

WPF.

In this case:

2. AutoIt Info doesn't work at all and I have to try Snoop tool and in this tool I found that controls represented in the different way then for regular Windows apps.

That's why I am asking if somebody already has a such experience and can give an advice (any kind advice) because it is my first try.

Share this post


Link to post
Share on other sites

You mentioned "snoop tool". Are you using the AutoIt Window Info tool (in the same directory where you installed AutoIt), or another tool? Try the AutoIt Window Info Tool; does it return any information for you about the window or the controls contained within?


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

unfortunatel AutoIt Window Info Tool doesn't work at all with wpf, only with a regular Windows app.

Share this post


Link to post
Share on other sites

Have you looked at the IUAutomation thread in the examples file? I believe there are some posts concerning WPF apps.


√-1 2^3 ∑ π, and it was delicious!

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