<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>guitester Release Rss Feed</title><link>http://www.codeplex.com/guitester/Release/ProjectReleases.aspx</link><description>guitester Release Rss Description</description><item><title>Updated Release: GUITester V2 (Aug 28, 2006)</title><link>http://www.codeplex.com/guitester/Release/ProjectReleases.aspx?ReleaseId=7281</link><description>&lt;div&gt;
The .NET 2.0 release&lt;br&gt; &lt;br&gt;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.&lt;br&gt; &lt;br&gt;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! &lt;br&gt; &lt;br&gt;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 &lt;a href="http://www.codeplex.com/guitester/Wiki/View.aspx?title=TestMethod"&gt;TestMethod&lt;/a&gt; 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 &lt;a href="http://www.codeplex.com/guitester/Wiki/View.aspx?title=TestMethod"&gt;TestMethod&lt;/a&gt; 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 &lt;a href="http://www.codeplex.com/guitester/Wiki/View.aspx?title=TestMethod"&gt;TestMethod&lt;/a&gt; for each test a have in my application under test, not really an options as these tests are user defined and discovered via reflection.&lt;br&gt; &lt;br&gt;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:&lt;br&gt;&lt;pre&gt;
[ClickTextTest(&amp;quot;email test&amp;quot;,&amp;quot;textBoxRegularExpression&amp;quot;,@&amp;quot;^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$&amp;quot;,true)]
private Button btnRegularExpression;
private TextBox textBoxRegularExpression;
&lt;/pre&gt; &lt;br&gt; &lt;br&gt;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:&lt;br&gt; &lt;br&gt;&lt;pre&gt;
[RegularExpressionTest(&amp;quot;email test&amp;quot;,@&amp;quot;^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$&amp;quot;)]
private TextBox textBoxRegularExpression;
&lt;/pre&gt; &lt;br&gt;
&lt;/div&gt;</description><author>rfennell</author><pubDate>Sat, 20 Sep 2008 13:36:20 GMT</pubDate><guid isPermaLink="false">Updated Release: GUITester V2 (Aug 28, 2006) 20080920013620P</guid></item><item><title>Released: GUITester V2 (Aug 28, 2006)</title><link>http://www.codeplex.com/guitester/Release/ProjectReleases.aspx?ReleaseId=7281</link><description>&lt;div&gt;
The .NET 2.0 release&lt;br&gt; &lt;br&gt;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.&lt;br&gt; &lt;br&gt;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! &lt;br&gt; &lt;br&gt;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 &lt;a href="http://www.codeplex.com/guitester/Wiki/View.aspx?title=TestMethod"&gt;TestMethod&lt;/a&gt; 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 &lt;a href="http://www.codeplex.com/guitester/Wiki/View.aspx?title=TestMethod"&gt;TestMethod&lt;/a&gt; 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 &lt;a href="http://www.codeplex.com/guitester/Wiki/View.aspx?title=TestMethod"&gt;TestMethod&lt;/a&gt; for each test a have in my application under test, not really an options as these tests are user defined and discovered via reflection.&lt;br&gt; &lt;br&gt;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:&lt;br&gt;&lt;pre&gt;
[ClickTextTest(&amp;quot;email test&amp;quot;,&amp;quot;textBoxRegularExpression&amp;quot;,@&amp;quot;^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$&amp;quot;,true)]
private Button btnRegularExpression;
private TextBox textBoxRegularExpression;
&lt;/pre&gt; &lt;br&gt; &lt;br&gt;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:&lt;br&gt; &lt;br&gt;&lt;pre&gt;
[RegularExpressionTest(&amp;quot;email test&amp;quot;,@&amp;quot;^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$&amp;quot;)]
private TextBox textBoxRegularExpression;
&lt;/pre&gt; &lt;br&gt;
&lt;/div&gt;</description><author></author><pubDate>Sat, 20 Sep 2008 13:36:20 GMT</pubDate><guid isPermaLink="false">Released: GUITester V2 (Aug 28, 2006) 20080920013620P</guid></item><item><title>Updated Release: GUITester V2 (Aug 28, 2006)</title><link>http://www.codeplex.com/guitester/Release/ProjectReleases.aspx?ReleaseId=7281</link><description>&lt;div&gt;
The .NET 2.0 release&lt;br&gt; &lt;br&gt;In V2.2 I have rebuilt the GUITesting framework using VS.Net 2005. 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. &lt;br&gt; &lt;br&gt;However, what I have had a look at is integrating the new testing features of VS.Net 2005 Team Developer edition. So in this V2.0 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! &lt;br&gt; &lt;br&gt;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 &lt;a href="http://www.codeplex.com/guitester/Wiki/View.aspx?title=TestMethod"&gt;TestMethod&lt;/a&gt; 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 &lt;a href="http://www.codeplex.com/guitester/Wiki/View.aspx?title=TestMethod"&gt;TestMethod&lt;/a&gt; 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 &lt;a href="http://www.codeplex.com/guitester/Wiki/View.aspx?title=TestMethod"&gt;TestMethod&lt;/a&gt; for each test a have in my application under test, not really an options as these tests are user defined and discovered via reflection.&lt;br&gt; &lt;br&gt;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:&lt;br&gt;&lt;pre&gt;
[ClickTextTest(&amp;quot;email test&amp;quot;,&amp;quot;textBoxRegularExpression&amp;quot;,@&amp;quot;^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$&amp;quot;,true)]
private Button btnRegularExpression;
private TextBox textBoxRegularExpression;
&lt;/pre&gt; &lt;br&gt; &lt;br&gt;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:&lt;br&gt; &lt;br&gt;&lt;pre&gt;
[RegularExpressionTest(&amp;quot;email test&amp;quot;,@&amp;quot;^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$&amp;quot;)]
private TextBox textBoxRegularExpression;
&lt;/pre&gt; &lt;br&gt;
&lt;/div&gt;</description><author>rfennell</author><pubDate>Sat, 20 Sep 2008 13:33:51 GMT</pubDate><guid isPermaLink="false">Updated Release: GUITester V2 (Aug 28, 2006) 20080920013351P</guid></item><item><title>UPDATED RELEASE: GUITester V2 (Aug 28, 2006)</title><link>http://www.codeplex.com/guitester/Release/ProjectReleases.aspx?ReleaseId=7281</link><description>The .NET 2.0 release&lt;br /&gt;&lt;br /&gt;In V2.2 I have rebuilt the GUITesting framework using VS.Net 2005. 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. &lt;br /&gt;&lt;br /&gt;However, what I have had a look at is integrating the new testing features of VS.Net 2005 Team Developer edition. So in this V2.0 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! &lt;br /&gt;&lt;br /&gt;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.&lt;br /&gt;&lt;br /&gt;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:&lt;br /&gt;{{&lt;br /&gt;[ClickTextTest("email test","textBoxRegularExpression",@"^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$",true)]&lt;br /&gt;private Button btnRegularExpression;&lt;br /&gt;private TextBox textBoxRegularExpression;&lt;br /&gt;}}&lt;br /&gt;&lt;br /&gt;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:&lt;br /&gt;&lt;br /&gt;{{&lt;br /&gt;[RegularExpressionTest("email test",@"^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$")]&lt;br /&gt;private TextBox textBoxRegularExpression;&lt;br /&gt;}}&lt;br /&gt;</description><author></author><pubDate>Mon, 24 Sep 2007 13:35:15 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: GUITester V2 (Aug 28, 2006) 20070924013515P</guid></item><item><title>UPDATED RELEASE: GUITester V2 (Aug 28, 2006)</title><link>http://www.codeplex.com/guitester/Release/ProjectReleases.aspx?ReleaseId=7281</link><description>The .NET 2.0 release&lt;br /&gt;&lt;br /&gt;In V2.2 I have rebuilt the GUITesting framework using VS.Net 2005. 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. &lt;br /&gt;&lt;br /&gt;However, what I have had a look at is integrating the new testing features of VS.Net 2005 Team Developer edition. So in this V2.0 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! &lt;br /&gt;&lt;br /&gt;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.&lt;br /&gt;&lt;br /&gt;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:&lt;br /&gt;&lt;br /&gt;[ClickTextTest("email test","textBoxRegularExpression",@"^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$",true)]&lt;br /&gt;private Button btnRegularExpression;&lt;br /&gt;private TextBox textBoxRegularExpression;&lt;br /&gt;&lt;br /&gt;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:&lt;br /&gt;&lt;br /&gt;[RegularExpressionTest("email test",@"^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$")]&lt;br /&gt;private TextBox textBoxRegularExpression;&lt;br /&gt;&lt;br /&gt;</description><author></author><pubDate>Mon, 24 Sep 2007 13:21:47 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: GUITester V2 (Aug 28, 2006) 20070924012147P</guid></item><item><title>UPDATED RELEASE: GUITester V1 (Aug 10, 2006)</title><link>http://www.codeplex.com/guitester/Release/ProjectReleases.aspx?ReleaseId=7277</link><description>These are .NET 1.0 VS2003 projects&lt;br /&gt;&lt;br /&gt;V1.0. is the initial version of the project&lt;br /&gt;V1.1 adds a VN.NET demo&lt;br /&gt;&lt;br /&gt; To this end I have added a very small VB.NET demo to the show the basic functions. There is a single form with a basic button click event. You then need to add the following attributes&lt;br /&gt;&lt;br /&gt;First the flag that says that the class is testable:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;    &lt;GUITestable&gt; _ &lt;br /&gt;    Public Class Form1&lt;br /&gt;&lt;br /&gt;Then the actual test attributes:&lt;br /&gt;&lt;br /&gt;    &lt;ClickTextTestAttribute("buttonChangeText Click Test 2", "Label1", "Button Pressed")&gt; _&lt;br /&gt;    Friend WithEvents Button1 As System.Windows.Forms.Button&lt;br /&gt;&lt;br /&gt;Now be careful with these test attributes, the _ line continuation character is required and they have to be placed in the region marked 'Windows Form Designer generated code'. Mnaually adding them here does work, but I am worried that the Visual Studio Desginer may remove these lines if the GUI is altered, I need to investigate this further, but my initial test seem to show this is not the case.&lt;br /&gt;&lt;br /&gt;</description><author></author><pubDate>Mon, 24 Sep 2007 13:19:53 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: GUITester V1 (Aug 10, 2006) 20070924011953P</guid></item><item><title>UPDATED RELEASE: Java (Aug 10, 2007)</title><link>http://www.codeplex.com/guitester/Release/ProjectReleases.aspx?ReleaseId=7280</link><description>The techniques used in my .NET GUITester project, though developed using C#, are applicable to any of the 30+ .NET Framework supported languages. &lt;br /&gt;&lt;br /&gt;.NET does provide support for Microsoft's own 'Java like' language J#, but this is not actual Java. So I have done a small trial to see if similar techniques i.e. reflection and annotation (as Java terms attributes) could be applied in a 'pure' Sun Microsoft Systems Java 1.5 reference implementation. The aim of this trial was to try to replicate the first tests I did in .NET: &lt;br /&gt;&lt;br /&gt;Discover GUI components in a Swing based application &lt;br /&gt;Add custom annotation to GUI components  &lt;br /&gt;Cause a button event to be fired and see its result.&lt;br /&gt;The key changes required in the port from C# were:&lt;br /&gt;&lt;br /&gt;Private Members - By default Java reflection does not allow access to private members. This is a major issue for this testing model. It is a key requirement of this project that the developer should not be required to change from 'good software engineering practice' e.g. by making private members public. A solution to this problem was found on  OnJava.Com . This allows a backdoor route into the class under test using the getDeclaredField()  method. &lt;br /&gt;Event Triggering - In Java, GUI events are callable methods of the GUI control, so triggering events is actually a simpler task that under .NET when the event model has to be invoked.&lt;br /&gt;&lt;br /&gt;This trial is a Java Netbeans 4 project&lt;br /&gt;</description><author></author><pubDate>Mon, 24 Sep 2007 13:17:24 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: Java (Aug 10, 2007) 20070924011724P</guid></item><item><title>CREATED RELEASE: GUITester V2 (Aug 28, 2006)</title><link>http://www.codeplex.com/guitester/Release/ProjectReleases.aspx?ReleaseId=7281</link><description>The .NET 2.0 release</description><author></author><pubDate>Mon, 24 Sep 2007 12:57:45 GMT</pubDate><guid isPermaLink="false">CREATED RELEASE: GUITester V2 (Aug 28, 2006) 20070924125745P</guid></item><item><title>UPDATED RELEASE: Java (Aug 10, 2007)</title><link>http://www.codeplex.com/guitester/Release/ProjectReleases.aspx?ReleaseId=7280</link><description>A Java proof of concept</description><author></author><pubDate>Mon, 24 Sep 2007 12:52:26 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: Java (Aug 10, 2007) 20070924125226P</guid></item><item><title>UPDATED RELEASE: GUITester V1 (Aug 10, 2006)</title><link>http://www.codeplex.com/guitester/Release/ProjectReleases.aspx?ReleaseId=7277</link><description>The .Net 1.1. version of the project</description><author></author><pubDate>Mon, 24 Sep 2007 12:51:45 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: GUITester V1 (Aug 10, 2006) 20070924125145P</guid></item><item><title>CREATED RELEASE: Java</title><link>http://www.codeplex.com/guitester/Release/ProjectReleases.aspx?ReleaseId=7280</link><description>A Java proof of concept</description><author></author><pubDate>Mon, 24 Sep 2007 12:50:06 GMT</pubDate><guid isPermaLink="false">CREATED RELEASE: Java 20070924125006P</guid></item><item><title>UPDATED RELEASE: GUITester V1</title><link>http://www.codeplex.com/guitester/Release/ProjectReleases.aspx?ReleaseId=7277</link><description>The .Net 1.1. version of the project</description><author></author><pubDate>Mon, 24 Sep 2007 12:49:08 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: GUITester V1 20070924124908P</guid></item></channel></rss>