views:

37

answers:

3

Hi, We are developing a desktop application in winforms using 3rd party controls,which are not UI automation compatible.Is there any way to do the functional tests through UI.We want to perform various actions on UI, n assert correct Ui changes are happening and the backend stuff changing(assert db record saved).

A: 

Have you tried using TestAPI?

Matt Breckon
no,i have not tried,will ,look into it
dude
+1  A: 

If you want to take a look at Visual Studio 2010, it has some interisting built-in support for functional testing: http://blogs.msdn.com/balagans/archive/2009/10/28/9914045.aspx

Konamiman
A: 

We use the White framework for functional testing. It uses the Automation API, but for 3rd party controls which don't support that we wrote adaptors to expose them. It's not too hard, depending on the controls you use, but debugging support for Automation is pretty horrific. Your only real friends are UIAutomationVerify/UISpy and White itself.

Jim Arnold