GUITester V2

Rating: No reviews yet
Downloads: 726
Released: Aug 28, 2006
Updated: Sep 20, 2008 by rfennell
Dev status: -not yet defined by owner-

Recommended Download

Documentation User Manual
documentation, 526K, uploaded Sep 24, 2007 - 340 downloads

Other Available Downloads

Source Code Complete source (VS2005)
source code, 982K, uploaded Sep 24, 2007 - 131 downloads
Source Code Complete source for the V2.1 system with integration with Team Dev
source code, 1001K, uploaded Sep 24, 2007 - 64 downloads
Source Code Complete source for the V2.2 system that allows regular expressions for tests
source code, 565K, uploaded Sep 24, 2007 - 84 downloads
Source Code Complete sourcr for the V2.3 systems (VS2008)
source code, 135K, uploaded Sep 20, 2008 - 107 downloads

Release Notes

The .NET 2.0 release

In V2.2 I have rebuilt the GUITesting framework using VS.Net 2005 ans 2008. No changes really, the built in converter from VS.Net 2003 to 2005 did the job with no errors. At this time I have not done any work to exploit the new features of .NET 2.0. Equally I have not retarget for the 3.5 framework as it provide no quick benefits.

However, what I have had a look at is integrating the new testing features of VS.Net 2005/8 Team Developer edition. So in this V2.x source release you will find a test project, sorry if you not have Team developer edition of VS.Net, just remove the test project when it fails to load!

So how did the integration with a Microsoft Test Project go? In the past I had my own test run EXE to do the testing, it looks for custom attributes that define the tests then runs them, this still work. However, as I wanted to use VS.NET to run the tests, I needed to run my declared tests via a TestMethod in a test project. I have written a wrapper to do this which can be seen on the test project. Using this wrapper code in the TestMethod the tests run fine, the problem is that all my defined tests appear as a single VS.Net test. Fine if they all pass, but not that helpful debugging. The only other option is to create a TestMethod for each test a have in my application under test, not really an options as these tests are user defined and discovered via reflection.

The ClickTextTest attribute now has an optional extra boolean flag, this allows you to say if the text to match is a fixed string or a regular expression. The usage to check a textbox contains an email address:
[ClickTextTest("email test","textBoxRegularExpression",@"^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$",true)]
private Button btnRegularExpression;
private TextBox textBoxRegularExpression;


There is also a simple text field test that allow you to validate that a field matches a regular expression, this is used in the form:

[RegularExpressionTest("email test",@"^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$")]
private TextBox textBoxRegularExpression;

Reviews for this release

No reviews yet for this release.