<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Introducing Generic Fixture for FitNesse</title>
	<atom:link href="http://anubhava.wordpress.com/2008/02/09/introducing-generic-fixture-for-fitnesse/feed/" rel="self" type="application/rss+xml" />
	<link>http://anubhava.wordpress.com/2008/02/09/introducing-generic-fixture-for-fitnesse/</link>
	<description>Generic Fixture, just a better FitNesse Fixture</description>
	<lastBuildDate>Wed, 28 Oct 2009 16:34:13 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: anubhava</title>
		<link>http://anubhava.wordpress.com/2008/02/09/introducing-generic-fixture-for-fitnesse/#comment-114</link>
		<dc:creator>anubhava</dc:creator>
		<pubDate>Wed, 28 Oct 2009 16:34:13 +0000</pubDate>
		<guid isPermaLink="false">http://anubhava.wordpress.com/2008/01/15/introducing-generic-fixture-for-fitnesse/#comment-114</guid>
		<description>Hi Aristotelis,

Sorry for the goof up. Please download the jar again from the link above.

Thanks,
Anubhava</description>
		<content:encoded><![CDATA[<p>Hi Aristotelis,</p>
<p>Sorry for the goof up. Please download the jar again from the link above.</p>
<p>Thanks,<br />
Anubhava</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aristotelis</title>
		<link>http://anubhava.wordpress.com/2008/02/09/introducing-generic-fixture-for-fitnesse/#comment-113</link>
		<dc:creator>Aristotelis</dc:creator>
		<pubDate>Wed, 28 Oct 2009 10:00:22 +0000</pubDate>
		<guid isPermaLink="false">http://anubhava.wordpress.com/2008/01/15/introducing-generic-fixture-for-fitnesse/#comment-113</guid>
		<description>Hello Anubhava,

Thank you very much for your promptness and help.
We got the new jar but before we could confirm that the blanks work ok we got another strange error.
Our calls using getEval or waitForCondition started failing.
When we looked at the log of selenium control window we spotted &#039;null&#039;s appearing where they shouldn&#039;t...

Example:
the dsl call:
window.document.evaluate( &quot;.....&quot;\, window.document\, null\, XPathResult.NUMBER_TYPE\, null ).numberValue

was interpreted (sent to selenium) as:
window.document.evaluate( &quot;.....&quot;, window.document, , nullXPathResult.NUMBER_TYPE, )null.numberValue

instead of (normal):
window.document.evaluate( &quot;.....&quot;, window.document, null, XPathResult.NUMBER_TYPE, null).numberValue

which ofcourse gave origin to a selenium syntax error (and &#039;broke&#039; almost all of our test narratives..)

Please help,
thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hello Anubhava,</p>
<p>Thank you very much for your promptness and help.<br />
We got the new jar but before we could confirm that the blanks work ok we got another strange error.<br />
Our calls using getEval or waitForCondition started failing.<br />
When we looked at the log of selenium control window we spotted &#8216;null&#8217;s appearing where they shouldn&#8217;t&#8230;</p>
<p>Example:<br />
the dsl call:<br />
window.document.evaluate( &#8220;&#8230;..&#8221;\, window.document\, null\, XPathResult.NUMBER_TYPE\, null ).numberValue</p>
<p>was interpreted (sent to selenium) as:<br />
window.document.evaluate( &#8220;&#8230;..&#8221;, window.document, , nullXPathResult.NUMBER_TYPE, )null.numberValue</p>
<p>instead of (normal):<br />
window.document.evaluate( &#8220;&#8230;..&#8221;, window.document, null, XPathResult.NUMBER_TYPE, null).numberValue</p>
<p>which ofcourse gave origin to a selenium syntax error (and &#8216;broke&#8217; almost all of our test narratives..)</p>
<p>Please help,<br />
thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anubhava</title>
		<link>http://anubhava.wordpress.com/2008/02/09/introducing-generic-fixture-for-fitnesse/#comment-112</link>
		<dc:creator>anubhava</dc:creator>
		<pubDate>Wed, 28 Oct 2009 02:11:18 +0000</pubDate>
		<guid isPermaLink="false">http://anubhava.wordpress.com/2008/01/15/introducing-generic-fixture-for-fitnesse/#comment-112</guid>
		<description>Dear Aristotelis,

Well these special symbols (blank, null) were intended to be used independently and not in full expressions i.e 
&#124; someMethod &#124; blank &#124; 
instead of your usage: 
&#124; getEval &#124; &quot;blank&quot; == &quot;&quot; &#124;

But since you asked I have made a change in the code to support your requirements. Please download the latest jar file from this link: http://sourceforge.net/projects/genericfixture/files/genericfixture/genericfixture_v1/genericfixture.jar/download

And run your scripts as is and it should work fine.

Cheers,
Anubhava</description>
		<content:encoded><![CDATA[<p>Dear Aristotelis,</p>
<p>Well these special symbols (blank, null) were intended to be used independently and not in full expressions i.e<br />
| someMethod | blank |<br />
instead of your usage:<br />
| getEval | &#8220;blank&#8221; == &#8220;&#8221; |</p>
<p>But since you asked I have made a change in the code to support your requirements. Please download the latest jar file from this link: <a href="http://sourceforge.net/projects/genericfixture/files/genericfixture/genericfixture_v1/genericfixture.jar/download" rel="nofollow">http://sourceforge.net/projects/genericfixture/files/genericfixture/genericfixture_v1/genericfixture.jar/download</a></p>
<p>And run your scripts as is and it should work fine.</p>
<p>Cheers,<br />
Anubhava</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aristotelis</title>
		<link>http://anubhava.wordpress.com/2008/02/09/introducing-generic-fixture-for-fitnesse/#comment-111</link>
		<dc:creator>Aristotelis</dc:creator>
		<pubDate>Tue, 27 Oct 2009 10:55:22 +0000</pubDate>
		<guid isPermaLink="false">http://anubhava.wordpress.com/2008/01/15/introducing-generic-fixture-for-fitnesse/#comment-111</guid>
		<description>Dear Anubhava,

We seem to have another problem with the use of blank. This time when used with javascript calls (e.g. getEval of Selenium RC).
Example:

The test below FAILS:

!&#124; DSL Adapter &#124;
&#124; compare &#124; % &#124; to empty string &#124; getEval &#124; &quot;{1}&quot;==&quot;&quot; &#124; 
!&#124; Generic Fixture &#124; ${sel} &#124;
&#124; compare &#124; blank &#124; to empty string &#124; &#124; true &#124;



While the test below succeeds:
(a previously filled-in text input has its content deleted)

!&#124; Generic Fixture &#124; ${sel} &#124;
&#124; user types &#124; blank &#124; into field with id &#124; description &#124;
!&#124; Generic Fixture &#124; ${sel} &#124;
&#124; get value from field &#124; description &#124; &#124; blank &#124;


So it seems to be related with the JS type or the getEval call itself..

Thanks in advance,
Aristotelis.</description>
		<content:encoded><![CDATA[<p>Dear Anubhava,</p>
<p>We seem to have another problem with the use of blank. This time when used with javascript calls (e.g. getEval of Selenium RC).<br />
Example:</p>
<p>The test below FAILS:</p>
<p>!| DSL Adapter |<br />
| compare | % | to empty string | getEval | &#8220;{1}&#8221;==&#8221;" |<br />
!| Generic Fixture | ${sel} |<br />
| compare | blank | to empty string | | true |</p>
<p>While the test below succeeds:<br />
(a previously filled-in text input has its content deleted)</p>
<p>!| Generic Fixture | ${sel} |<br />
| user types | blank | into field with id | description |<br />
!| Generic Fixture | ${sel} |<br />
| get value from field | description | | blank |</p>
<p>So it seems to be related with the JS type or the getEval call itself..</p>
<p>Thanks in advance,<br />
Aristotelis.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anubhava</title>
		<link>http://anubhava.wordpress.com/2008/02/09/introducing-generic-fixture-for-fitnesse/#comment-110</link>
		<dc:creator>anubhava</dc:creator>
		<pubDate>Thu, 01 Oct 2009 22:42:10 +0000</pubDate>
		<guid isPermaLink="false">http://anubhava.wordpress.com/2008/01/15/introducing-generic-fixture-for-fitnesse/#comment-110</guid>
		<description>Dear Aristotelis,

Your assessment is right because Generic Fixture was translating these symbols (null, blank etc) before calling DSL and that&#039;s why DSL was not matching for you. I have made a small change in the code.

New genericfixture.jar has been uploaded to the sourceforge repository. Please download the latest jar file for your test. It should fix the problem for you.

cheers,
Anubhava</description>
		<content:encoded><![CDATA[<p>Dear Aristotelis,</p>
<p>Your assessment is right because Generic Fixture was translating these symbols (null, blank etc) before calling DSL and that&#8217;s why DSL was not matching for you. I have made a small change in the code.</p>
<p>New genericfixture.jar has been uploaded to the sourceforge repository. Please download the latest jar file for your test. It should fix the problem for you.</p>
<p>cheers,<br />
Anubhava</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aristotelis</title>
		<link>http://anubhava.wordpress.com/2008/02/09/introducing-generic-fixture-for-fitnesse/#comment-109</link>
		<dc:creator>Aristotelis</dc:creator>
		<pubDate>Thu, 01 Oct 2009 17:45:02 +0000</pubDate>
		<guid isPermaLink="false">http://anubhava.wordpress.com/2008/01/15/introducing-generic-fixture-for-fitnesse/#comment-109</guid>
		<description>Hi Anubhava,

Thanks for your explanation.

We have a problem in using the blank. 
We  confirm that everytime we use it to pass a blank string the DSL mapping fails (&quot;could not be found matching given parameters&quot; error).

Could this be because of the code of Generic Fixture?

Can you pass blank (or otherwise an empty string) in a DSL call?

Example:
!&#124; Generic Fixture &#124; ${sel} &#124;
&#124; user types &#124; blank &#124; into field &#124; firstname &#124;

Error given:
java.lang.NoSuchMethodException: Method [com.thoughtworks.selenium.DefaultSelenium.userTypes()] could not be found matching given parameters

Thanks again,
Aristotelis.</description>
		<content:encoded><![CDATA[<p>Hi Anubhava,</p>
<p>Thanks for your explanation.</p>
<p>We have a problem in using the blank.<br />
We  confirm that everytime we use it to pass a blank string the DSL mapping fails (&#8220;could not be found matching given parameters&#8221; error).</p>
<p>Could this be because of the code of Generic Fixture?</p>
<p>Can you pass blank (or otherwise an empty string) in a DSL call?</p>
<p>Example:<br />
!| Generic Fixture | ${sel} |<br />
| user types | blank | into field | firstname |</p>
<p>Error given:<br />
java.lang.NoSuchMethodException: Method [com.thoughtworks.selenium.DefaultSelenium.userTypes()] could not be found matching given parameters</p>
<p>Thanks again,<br />
Aristotelis.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anubhava</title>
		<link>http://anubhava.wordpress.com/2008/02/09/introducing-generic-fixture-for-fitnesse/#comment-107</link>
		<dc:creator>anubhava</dc:creator>
		<pubDate>Tue, 29 Sep 2009 21:16:45 +0000</pubDate>
		<guid isPermaLink="false">http://anubhava.wordpress.com/2008/01/15/introducing-generic-fixture-for-fitnesse/#comment-107</guid>
		<description>Dear Aristotelis,

What do you mean by empty variable? Is your variable of java.lang.String type and you want to pass a blank (&quot;&quot;) string? If that is the case you can simply use keyword &lt;strong&gt;blank&lt;/strong&gt; in your script. (Please make sure it is &lt;strong&gt;blank&lt;/strong&gt; in lowercase).

Otherwise a variable can be of any object type and a &lt;strong&gt;null&lt;/strong&gt; can be passed in its place (please make sure it is &lt;strong&gt;null&lt;/strong&gt; in lowercase).

However just by omitting a value altogether as in your example is not going to work, that is FitNesse behaviour.

Thanks,
Anubhava</description>
		<content:encoded><![CDATA[<p>Dear Aristotelis,</p>
<p>What do you mean by empty variable? Is your variable of java.lang.String type and you want to pass a blank (&#8220;&#8221;) string? If that is the case you can simply use keyword <strong>blank</strong> in your script. (Please make sure it is <strong>blank</strong> in lowercase).</p>
<p>Otherwise a variable can be of any object type and a <strong>null</strong> can be passed in its place (please make sure it is <strong>null</strong> in lowercase).</p>
<p>However just by omitting a value altogether as in your example is not going to work, that is FitNesse behaviour.</p>
<p>Thanks,<br />
Anubhava</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aristotelis</title>
		<link>http://anubhava.wordpress.com/2008/02/09/introducing-generic-fixture-for-fitnesse/#comment-106</link>
		<dc:creator>Aristotelis</dc:creator>
		<pubDate>Tue, 29 Sep 2009 14:57:58 +0000</pubDate>
		<guid isPermaLink="false">http://anubhava.wordpress.com/2008/01/15/introducing-generic-fixture-for-fitnesse/#comment-106</guid>
		<description>Dear Anubhava, 

Thanks for the answer! It would take us ages to pinpoint that issue! Once again, though, we look for your guidance:

We have created some rather long DSL calls and we have been getting errors of the type:

java.lang.NoSuchMethodException: Method [eu.europa.blahblah.gfplugin.FixtureContext.thisIsAFriendlyNameThatShouldBeReplacedByTheFunctionName:()] could not be found matching given parameters

obviously, the DSL mapping and replacements did not take place.

We think we have narrowed down the problem down to a surprising fact: the DSL mapping fails when a variable is passed emtpy. E.g.:

&#124; Generic Fixture &#124; ourdb= &#124;
&#124; friendly name with parameter &#124; &#124; and parameter &#124;&#124; doing sth&#124;
gives an error while the following does not:
&#124; Generic Fixture &#124; ourdb= &#124;
&#124; friendly name with parameter &#124;a&#124; and parameter &#124; a &#124; doing sth&#124;

Is this normal? Are we doing sth wrong?

Thanks in advance,
Aristotelis.</description>
		<content:encoded><![CDATA[<p>Dear Anubhava, </p>
<p>Thanks for the answer! It would take us ages to pinpoint that issue! Once again, though, we look for your guidance:</p>
<p>We have created some rather long DSL calls and we have been getting errors of the type:</p>
<p>java.lang.NoSuchMethodException: Method [eu.europa.blahblah.gfplugin.FixtureContext.thisIsAFriendlyNameThatShouldBeReplacedByTheFunctionName:()] could not be found matching given parameters</p>
<p>obviously, the DSL mapping and replacements did not take place.</p>
<p>We think we have narrowed down the problem down to a surprising fact: the DSL mapping fails when a variable is passed emtpy. E.g.:</p>
<p>| Generic Fixture | ourdb= |<br />
| friendly name with parameter | | and parameter || doing sth|<br />
gives an error while the following does not:<br />
| Generic Fixture | ourdb= |<br />
| friendly name with parameter |a| and parameter | a | doing sth|</p>
<p>Is this normal? Are we doing sth wrong?</p>
<p>Thanks in advance,<br />
Aristotelis.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anubhava</title>
		<link>http://anubhava.wordpress.com/2008/02/09/introducing-generic-fixture-for-fitnesse/#comment-105</link>
		<dc:creator>anubhava</dc:creator>
		<pubDate>Tue, 29 Sep 2009 10:56:42 +0000</pubDate>
		<guid isPermaLink="false">http://anubhava.wordpress.com/2008/01/15/introducing-generic-fixture-for-fitnesse/#comment-105</guid>
		<description>Dear Aristotelis,

Yes I have also noticed that behavior and trust me it is purely Fitnesse Wiki syntax thing. What happens is sometimes a space character gets appended to the last pipe character (&#124;) of a row. And then FitNesse Wiki makes next row in the table a plain text thus breaking your test table. 

I&#039;m really not sure if there is a way to overcome this on FitNesse but I do suggest you to use either Excel or install a FitNesse plugin to do WYSIWYG editing of large FitNesse tables to avoid this annoying behavior.

Cheers,
Anubhava</description>
		<content:encoded><![CDATA[<p>Dear Aristotelis,</p>
<p>Yes I have also noticed that behavior and trust me it is purely Fitnesse Wiki syntax thing. What happens is sometimes a space character gets appended to the last pipe character (|) of a row. And then FitNesse Wiki makes next row in the table a plain text thus breaking your test table. </p>
<p>I&#8217;m really not sure if there is a way to overcome this on FitNesse but I do suggest you to use either Excel or install a FitNesse plugin to do WYSIWYG editing of large FitNesse tables to avoid this annoying behavior.</p>
<p>Cheers,<br />
Anubhava</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aristotelis</title>
		<link>http://anubhava.wordpress.com/2008/02/09/introducing-generic-fixture-for-fitnesse/#comment-104</link>
		<dc:creator>Aristotelis</dc:creator>
		<pubDate>Tue, 29 Sep 2009 08:13:17 +0000</pubDate>
		<guid isPermaLink="false">http://anubhava.wordpress.com/2008/01/15/introducing-generic-fixture-for-fitnesse/#comment-104</guid>
		<description>Dear Anubhava hello again,

We have been noticing occasionally a strange behaviour that has been difficult to handle and we do not know why it happens.

We have a fitnesse page with our DSL and when we view it, it looks ok (all tables are represented correctly).

This page is included in all our tests.

Yet if we open the collapsible section of the DSL page within the test page in which it has been included, some content &#039;looses its tables&#039;. 
E.g. we see the DSL Adapter within a cell of a table but the row that follows is not in a table...

It has been very difficult to understand why this happens and any occasional solution that has taken place we have not been able to understand why. 
We try to move lines around, re-type the lines and other actions but as I said we are lost in this. 

Have you ever seen that before? Is that a Fitnesses or Generic Fixture bug?
Is there any problem in handling large pages?

Any help would be greatly appreciated..

Thanks again,
Aristotelis.</description>
		<content:encoded><![CDATA[<p>Dear Anubhava hello again,</p>
<p>We have been noticing occasionally a strange behaviour that has been difficult to handle and we do not know why it happens.</p>
<p>We have a fitnesse page with our DSL and when we view it, it looks ok (all tables are represented correctly).</p>
<p>This page is included in all our tests.</p>
<p>Yet if we open the collapsible section of the DSL page within the test page in which it has been included, some content &#8216;looses its tables&#8217;.<br />
E.g. we see the DSL Adapter within a cell of a table but the row that follows is not in a table&#8230;</p>
<p>It has been very difficult to understand why this happens and any occasional solution that has taken place we have not been able to understand why.<br />
We try to move lines around, re-type the lines and other actions but as I said we are lost in this. </p>
<p>Have you ever seen that before? Is that a Fitnesses or Generic Fixture bug?<br />
Is there any problem in handling large pages?</p>
<p>Any help would be greatly appreciated..</p>
<p>Thanks again,<br />
Aristotelis.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
