Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

fitnesse

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 3722
  • Category: Testing
  • Founded: Feb 26, 2003
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
Messages 18437 - 18466 of 20146   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#18437 From: "athenaqa" <pernilla.qvistgard@...>
Date: Tue Nov 8, 2011 3:06 pm
Subject: Problem with variables since last update of FitNesse
athenaqa
Send Email Send Email
 
We are using a variable to define current time in our test cases. This variable
is set several times in each test case and used when calling different fixtures
with dirrerent current time. We also have other variables that we use to store a
specific current time, see example. The problem is that when ew updated FitNesse
these variables always have the latest value of curren time wich was not the
case before. Does anyone have a suggestion on how to solve this problem?

Example:

!define current_time {10:00}

!define saved_time (${current_time})

!define current_time {12:00} //saved_time is now set to 12:00 wich was not the
case before the update

Hope someone has a smart solution!

Regards
Pernilla

#18438 From: "volshebnica_42" <nila_42@...>
Date: Thu Nov 10, 2011 1:47 pm
Subject: ScenarioTable and ScriptTable with FitLibraryWeb Fixtures
volshebnica_42
Send Email Send Email
 
Hello!

I try to evaluated the FitNesse Framework, while I make for an existing website
an acceptance test. I use FitLibraryWeb. The necessary steps to test a certain
functionality of the website are ready and work. Example: step „Login as
Admin“

| get url | http://localhost:8080/WebSite/login.do |
| with    |//input [@name = "user's name"]   | set text | admin |
| with    |//input [@name = "passport Word"] | set text | admin |
| click   |//input [@type = "submit"] |
| title   | is | Welcome Admin |

If I look at graphics in http://gojko.net/2010/04/13/ho
w-to-implement-ui-testing-without-shooting-yourself-in-the-foot-2/  my steps see
like "Technical Activity".
I want that my test looks like "Rule".
This is why I try this table run as scenario:

| scenario | Login as Admin |
| get url  | http://localhost:8080/WebSite/login.do |
| with  |//input [@name = "user's name"] | set text | admin |
| with  |//input [@name = "passport Word"] set text | admin |
| click |//input [@type = "submit"] |
| title | is | Welcome Admin |

And then in the ScriptTable  I try to call the scenario „ Login as Admin“:

1. To change configuration, I must be Login as Admin.
| script |
| Login as Admin  |
| Config change   |
| Config is saved |

  "Config change" and "Config is saved" are other scenarios.
With the following mistakes explain become I:

scenario
________________________________________
|Missing class or Missing method. Possibly:
publicly Type scenario (Type1 arg1) {}

and

  Script |________________________________________
Missing class or Missing method. Possibly:
publicly Type getScript () {}
publicly Type script () {}

I know that ScenarioTable is explained by TEST_SYSTEM=slim.
And for FitLibraryWeb TEST_RUNNER=fitlibrary.suite. FitlibraryServer

Is there possibility to use scenarios for FitLibraryWeb Fixturex?
Further I would also like to use "Nested Scenarios".
My aims is  that the acceptance test description from "Technical Activity" level
increase to the "Rule" level.

Thank you very much in advance!
Nelja

#18439 From: Sang Shin <sangshinpassion@...>
Date: Thu Nov 10, 2011 12:14 pm
Subject: maven.neuri.com: Unknown host maven.neuri.com problem
axykim00
Send Email Send Email
 
My fitnesse maven fails because it says the "maven.neuri.com" below  is
an unknown host.
And I could not ping it either.  Is there a new repository I should
use?  Thanks in advance.

<repositories>
<repository>
<id>neuri</id>
<url>http://maven.neuri.com/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>

--
-------------------------------------------------------------------
               Sang Shin, sangshinpassion@...
            Founder and Chief Instructor of JPassion.com
          JRebel/LiveRebel Evangelst from ZeroTurnaround.com
http://JPassion.com/portal/instructors/sang-shin-schedule (Bio)
            http://www.javapassion.com/webinars (Webinars)
           http://www.linkedin.com/in/javapassion (Linkedin)
            http://twitter.com/javapassion (Tweeter)
              Life is worth living... with Passion!
----------------------------------------------------------------------

#18440 From: Rick Mugridge <rick.mugridge@...>
Date: Thu Nov 10, 2011 6:15 pm
Subject: Re: ScenarioTable and ScriptTable with FitLibraryWeb Fixtures
rickmugridge
Send Email Send Email
 
FitLibraryWeb has "defined actions". See http://www.rimuresearch.com/KnowHowTo.EvolveTowardsBusinessSpecificationLanguage.html for an example of their use. See the documentation that's provided in the FitLibrary download for further details. The download is at http://sourceforge.net/projects/fitlibrary/files/FitLibrary%20in%20Java/.

Cheers, Rick

On Fri, Nov 11, 2011 at 2:47 AM, volshebnica_42 <nila_42@...> wrote:
 

Hello!

I try to evaluated the FitNesse Framework, while I make for an existing website an acceptance test. I use FitLibraryWeb. The necessary steps to test a certain functionality of the website are ready and work. Example: step „Login as Admin“

| get url | http://localhost:8080/WebSite/login.do |
| with |//input [@name = "user's name"] | set text | admin |
| with |//input [@name = "passport Word"] | set text | admin |
| click |//input [@type = "submit"] |
| title | is | Welcome Admin |

If I look at graphics in http://gojko.net/2010/04/13/ho w-to-implement-ui-testing-without-shooting-yourself-in-the-foot-2/ my steps see like "Technical Activity".
I want that my test looks like "Rule".
This is why I try this table run as scenario:

| scenario | Login as Admin |
| get url | http://localhost:8080/WebSite/login.do |
| with |//input [@name = "user's name"] | set text | admin |
| with |//input [@name = "passport Word"] set text | admin |
| click |//input [@type = "submit"] |
| title | is | Welcome Admin |

And then in the ScriptTable I try to call the scenario „ Login as Admin“:

1. To change configuration, I must be Login as Admin.
| script |
| Login as Admin |
| Config change |
| Config is saved |

"Config change" and "Config is saved" are other scenarios.
With the following mistakes explain become I:

scenario
________________________________________
|Missing class or Missing method. Possibly:
publicly Type scenario (Type1 arg1) {}

and

Script |________________________________________
Missing class or Missing method. Possibly:
publicly Type getScript () {}
publicly Type script () {}

I know that ScenarioTable is explained by TEST_SYSTEM=slim.
And for FitLibraryWeb TEST_RUNNER=fitlibrary.suite. FitlibraryServer

Is there possibility to use scenarios for FitLibraryWeb Fixturex?
Further I would also like to use "Nested Scenarios".
My aims is that the acceptance test description from "Technical Activity" level increase to the "Rule" level.

Thank you very much in advance!
Nelja



#18441 From: Rick Mugridge <rick.mugridge@...>
Date: Thu Nov 10, 2011 6:19 pm
Subject: Re: maven.neuri.com: Unknown host maven.neuri.com problem
rickmugridge
Send Email Send Email
 
I see that Gojko Adzic has shifted DbFit to http://gojko.net/fitnesse/dbfit/, so see if the maven host has changed likewise.

Cheers, Rick

On Fri, Nov 11, 2011 at 1:14 AM, Sang Shin <sangshinpassion@...> wrote:
 


My fitnesse maven fails because it says the "maven.neuri.com" below is
an unknown host.
And I could not ping it either. Is there a new repository I should
use? Thanks in advance.

<repositories>
<repository>
<id>neuri</id>
<url>http://maven.neuri.com/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>

--
----------------------------------------------------------
Sang Shin, sangshinpassion@...
Founder and Chief Instructor of JPassion.com
JRebel/LiveRebel Evangelst from ZeroTurnaround.com
http://JPassion.com/portal/instructors/sang-shin-schedule (Bio)
http://www.javapassion.com/webinars (Webinars)
http://www.linkedin.com/in/javapassion (Linkedin)
http://twitter.com/javapassion (Tweeter)
Life is worth living... with Passion!
----------------------------------------------------------



#18442 From: Gojko Adzic <gojko-yahoolist@...>
Date: Fri Nov 11, 2011 9:37 am
Subject: Re: maven.neuri.com: Unknown host maven.neuri.com problem
gojko_lastname
Send Email Send Email
 
On 10/11/2011 13:14, Sang Shin wrote:
>
> My fitnesse maven fails because it says the "maven.neuri.com" below  is
> an unknown host.
> And I could not ping it either.  Is there a new repository I should
> use?  Thanks in advance.

Hi,

You can grab the last snapshot of the public maven archive from
http://neuri.co.uk/maven.neuri.com.zip - I hope this helps. This
includes all the artefacts, source and binaries. we no longer support
this and will not be releasing updated versions to keep compatibility
with the latest fitnesse versions apart for commercial clients.


--
Best Regards,

Gojko Adzic
http://gojko.net @gojkoadzic +447765132680
Get discounts on conferences, books and more http://eepurl.com/gJ5V1

#18443 From: "volshebnica_42" <nila_42@...>
Date: Fri Nov 11, 2011 1:30 pm
Subject: Re: ScenarioTable and ScriptTable with FitLibraryWeb Fixtures
volshebnica_42
Send Email Send Email
 
Thank you very much, Rick! It has worked!
Nelja

--- In fitnesse@yahoogroups.com, Rick Mugridge <rick.mugridge@...> wrote:
>
> FitLibraryWeb has "defined actions". See
>
http://www.rimuresearch.com/KnowHowTo.EvolveTowardsBusinessSpecificationLanguage\
.html
> for
> an example of their use. See the documentation that's provided in the
> FitLibrary download for further details. The download is at
> http://sourceforge.net/projects/fitlibrary/files/FitLibrary%20in%20Java/.
>
> Cheers, Rick
>
> On Fri, Nov 11, 2011 at 2:47 AM, volshebnica_42 <nila_42@...>wrote:
>
> > **
> >
> >
> > Hello!
> >
> > I try to evaluated the FitNesse Framework, while I make for an existing
> > website an acceptance test. I use FitLibraryWeb. The necessary steps to
> > test a certain functionality of the website are ready and work. Example:
> > step „Login as Adminâ€Å"
> >
> > | get url | http://localhost:8080/WebSite/login.do |
> > | with |//input [@name = "user's name"] | set text | admin |
> > | with |//input [@name = "passport Word"] | set text | admin |
> > | click |//input [@type = "submit"] |
> > | title | is | Welcome Admin |
> >
> > If I look at graphics in
http://gojko.net/2010/04/13/how-to-implement-ui-testing-without-shooting-yoursel\
f-in-the-foot-2/ my steps
> > see like "Technical Activity".
> > I want that my test looks like "Rule".
> > This is why I try this table run as scenario:
> >
> > | scenario | Login as Admin |
> > | get url | http://localhost:8080/WebSite/login.do |
> > | with |//input [@name = "user's name"] | set text | admin |
> > | with |//input [@name = "passport Word"] set text | admin |
> > | click |//input [@type = "submit"] |
> > | title | is | Welcome Admin |
> >
> > And then in the ScriptTable I try to call the scenario „ Login as
> > Adminâ€Å":
> >
> > 1. To change configuration, I must be Login as Admin.
> > | script |
> > | Login as Admin |
> > | Config change |
> > | Config is saved |
> >
> > "Config change" and "Config is saved" are other scenarios.
> > With the following mistakes explain become I:
> >
> > scenario
> > ________________________________________
> > |Missing class or Missing method. Possibly:
> > publicly Type scenario (Type1 arg1) {}
> >
> > and
> >
> > Script |________________________________________
> > Missing class or Missing method. Possibly:
> > publicly Type getScript () {}
> > publicly Type script () {}
> >
> > I know that ScenarioTable is explained by TEST_SYSTEM=slim.
> > And for FitLibraryWeb TEST_RUNNER=fitlibrary.suite. FitlibraryServer
> >
> > Is there possibility to use scenarios for FitLibraryWeb Fixturex?
> > Further I would also like to use "Nested Scenarios".
> > My aims is that the acceptance test description from "Technical Activity"
> > level increase to the "Rule" level.
> >
> > Thank you very much in advance!
> > Nelja
> >
> >
> >
>

#18444 From: "tazdevil819" <nilam819@...>
Date: Fri Nov 11, 2011 3:11 pm
Subject: Collapsible
tazdevil819
Send Email Send Email
 
Hello!
This is such a minor issue, however worth asking since i'm out of
troubleshooting tips to look into myself....

I'm experiencing problems using the collapsible section syntax.  It use to work
for quite some time, but all the sudden, it stopped collapsing sections and
always had the list expanded.  And now i'm unable to even manually collapse the
list from the page.

!style_code[!****> Import Class and Initialize Selenium]
This line, and the corresponding !style_code[****!] at the end creates a
collapsible section.

Closes the collapsible section.
!style_code[****!]

This is what how i'm "writing" it to be used and its always worked before...
!****> | user clicks | object |
!|scenario| user clicks | object |
| click | @object |

****!

Is there a configuration i'm missing to check somewhere?
Thanks,
Nilam

Please help!

#18445 From: "andydassing" <andrew.dassing@...>
Date: Fri Nov 11, 2011 4:55 pm
Subject: Re: Collapsible
andydassing
Send Email Send Email
 

Hello, Nilam:

The "issues" stems from newer releases of FitNesse being more stringent and more greedy with its parsing.  Thinking in terms of "trigger tokens" and the example provided, the sequence !*> (or !**>, !***>, etc.) is a trigger token followed by another trigger token: the vertical bar that signals the start of a table.  The options to implement the desireable behavior are offered below; load it to a wiki page to see them in action.

Stay Slim & Fit,
Andy


!2 Options (my favorite is the last)...

1. Literal Escapte the entire title:
!****> !-| user clicks | object |-!
!|scenario| user clicks | object |
| click | @object |
****!

2. Literalize the "bar" character:
!define BAR {!-|-!}
!****> ${BAR} user clicks ${BAR} object ${BAR}
!|scenario| user clicks | object |
| click | @object |
****!

3. Use slashes instead of the bar:
!****> / user clicks / object /
!|scenario| user clicks | object |
| click | @object |
****!

4. Use "function call" notation:
!****> user clicks (object)
!|scenario| user clicks | object |
| click | @object |
****!

 


#18446 From: Gregor Gramlich <gramlich@...>
Date: Fri Nov 11, 2011 5:01 pm
Subject: Re: Re: Collapsible
gregorgramlich
Send Email Send Email
 
Hi,

for me, it is sufficient to add an empty line after the section head:

!****> | user clicks | object |

!|scenario| user clicks | object |
| click | @object |

****!


Gregor

2011/11/11 andydassing <andrew.dassing@...>
 

Hello, Nilam:

The "issues" stems from newer releases of FitNesse being more stringent and more greedy with its parsing.  Thinking in terms of "trigger tokens" and the example provided, the sequence !*> (or !**>, !***>, etc.) is a trigger token followed by another trigger token: the vertical bar that signals the start of a table.  The options to implement the desireable behavior are offered below; load it to a wiki page to see them in action.

Stay Slim & Fit,
Andy


!2 Options (my favorite is the last)...

1. Literal Escapte the entire title:
!****> !-| user clicks | object |-!


!|scenario| user clicks | object |
| click | @object |
****!

2. Literalize the "bar" character:
!define BAR {!-|-!}
!****> ${BAR} user clicks ${BAR} object ${BAR}

!|scenario| user clicks | object |
| click | @object |
****!

3. Use slashes instead of the bar:
!****> / user clicks / object /

!|scenario| user clicks | object |
| click | @object |
****!

4. Use "function call" notation:
!****> user clicks (object)

!|scenario| user clicks | object |
| click | @object |
****!

 



#18447 From: "tazdevil819" <nilam819@...>
Date: Fri Nov 11, 2011 5:06 pm
Subject: Re: Collapsible
tazdevil819
Send Email Send Email
 
Oh Excellent!
Thanks, I actually tried one more than right after I posted to the message
board...and I randomly tried characters (ie: '-' to see if something had did
indeed change...

and now your post has solidified what I stumbled upon by accident... :-)
Thanks for your help and the other ways of using the collapsible section syntax.
Much appreciated!!
Nilam



--- In fitnesse@yahoogroups.com, "andydassing" <andrew.dassing@...> wrote:
>
>
> Hello, Nilam:
>
> The "issues" stems from newer releases of FitNesse being more stringent
> and more greedy with its parsing.  Thinking in terms of "trigger tokens"
> and the example provided, the sequence !*> (or !**>, !***>, etc.) is a
> trigger token followed by another trigger token: the vertical bar that
> signals the start of a table.  The options to implement the desireable
> behavior are offered below; load it to a wiki page to see them in
> action.
>
> Stay Slim & Fit,
> Andy
>
>
> !2 Options (my favorite is the last)...
>
> 1. Literal Escapte the entire title:
> !****> !-| user clicks | object |-!
> !|scenario| user clicks | object |
> | click | @object |
> ****!
>
> 2. Literalize the "bar" character:
> !define BAR {!-|-!}
> !****> ${BAR} user clicks ${BAR} object ${BAR}
> !|scenario| user clicks | object |
> | click | @object |
> ****!
>
> 3. Use slashes instead of the bar:
> !****> / user clicks / object /
> !|scenario| user clicks | object |
> | click | @object |
> ****!
>
> 4. Use "function call" notation:
> !****> user clicks (object)
> !|scenario| user clicks | object |
> | click | @object |
> ****!
>

#18448 From: "dbpatel219" <dbpatel219@...>
Date: Fri Nov 11, 2011 7:27 pm
Subject: What's the best way to loop
dbpatel219
Send Email Send Email
 
Hello,
       We have some async processes and rather then set a |sleep for|someNum|. 
Is there anyway to do a loop around a DBFit query for a status change and then
go to the next fixture?  I'd like to also have some form of timeout in the loop
so if it doesn't ever change it's not in an infinite loop.

Thanks,
Dharmesh

#18449 From: Rick Mugridge <rick.mugridge@...>
Date: Fri Nov 11, 2011 10:46 pm
Subject: Re: What's the best way to loop
rickmugridge
Send Email Send Email
 
FitLibrary has this capability built in, but DbFit is not a FitLibrary fixture, so it's unavailable to it. (FitLibrary runs Fit tables like DbFit but DbFit can only use Fit capability).

Eg in FitLibrary tables you can say:

|''my action of''|2|''with''|3|'''is'''|5|

to check immediately, and

|''my action of''|2|''with''|3|'''becomes'''|5|

to poll the action until it succeeds or up to a settable timeout period.

Cheers, Rick



On Sat, Nov 12, 2011 at 8:27 AM, dbpatel219 <dbpatel219@...> wrote:
 

Hello,
We have some async processes and rather then set a |sleep for|someNum|. Is there anyway to do a loop around a DBFit query for a status change and then go to the next fixture? I'd like to also have some form of timeout in the loop so if it doesn't ever change it's not in an infinite loop.

Thanks,
Dharmesh



#18450 From: "kanth_cbp" <kanth_cbp@...>
Date: Mon Nov 14, 2011 6:57 am
Subject: Re: Asynchronous testing with fitnesse
kanth_cbp
Send Email Send Email
 
Hi Daniel,

Can you please give me a working example for implementing this. Following part
is not very clear for me.

Thanks a lot..
" | execute operation where | xxxx | until equals | expected | and timeout after
| 50 |"
--- In fitnesse@yahoogroups.com, "Dan Woodward" <rsidan@...> wrote:
>
> FitNesse tests are synchronous, there isn't in FitNesse or Slim anything that
allows for an asynchronous even by itself.  So, In the past when we have had to
deal with asynchronous events, we chose to manage the asynchronous behavior
entirely inside our fixture code. That mean we wrote a method for use in script
tables that did something like this
>
> | execute operation where | xxxx | until equals | expected | and timeout after
| 50 |
>
> This allows us to do the async call.  We return true if we get the value we
expect it and false if we time out.  Then we usually check the actual value in a
later step.  Though you could return the expected value and do a check statement
as well.
>
> It's not the perfect solution for all cases, but it works for us in the
limited part of our system that needs to work that way.
>
> Daniel A Woodward
> ----------------------------
>
> FitNesse using Slim and Java
> @woodybrood
> http://whotestedthis.com
>
> --- In fitnesse@yahoogroups.com, "kanth_cbp" <kanth_cbp@> wrote:
> >
> > Hi,
> >
> > I am using fitnesse for acceptance testing of a feature developed in action
script 3.0. This includes testing some asynchronous function calls. I am very
new to this and unable to find a way to handle it. My question here is, will the
fitnesse supports the asynchronous calls? If so how to handle it?
> >
>

#18451 From: "dbpatel219" <dbpatel219@...>
Date: Mon Nov 14, 2011 9:05 pm
Subject: Re: What's the best way to loop
dbpatel219
Send Email Send Email
 
Sorry still a little unclear, are we saying we can't loop around the built in
DbFit which is in FitLibrary?  If not what's the best way to use an existing
Fixture that has already been instantiated?  Basically I'd like to write a
custom fixture that would leverage the dbfit that's already been instantiated. 
Is this possible?

I.E. My custom fixture directly calling the methods in DbFit fixture classes? 
I'd create a wrapper method to have a timeout and loop around a dbfit fixture.

Example:
MyCustomFixture {
      OracleTest tes = Fixture.loadFixture("Oracle");
      Query q = (Query) tes.query("SQL SELECT STATEMENT");
      //do something with the q and return.
}

This would assume the Oracle Fixture has been previously instantited and is
connected to DB.

Dharmesh

--- In fitnesse@yahoogroups.com, Rick Mugridge <rick.mugridge@...> wrote:
>
> FitLibrary has this capability built in, but DbFit is not a FitLibrary
> fixture, so it's unavailable to it. (FitLibrary runs Fit tables like DbFit
> but DbFit can only use Fit capability).
>
> Eg in FitLibrary tables you can say:
>
> |''my action of''|2|''with''|3|'''is'''|5|
>
> to check immediately, and
>
> |''my action of''|2|''with''|3|'''becomes'''|5|
>
> to poll the action until it succeeds or up to a settable timeout period.
>
> Cheers, Rick
>
>
>
> On Sat, Nov 12, 2011 at 8:27 AM, dbpatel219 <dbpatel219@...> wrote:
>
> > **
> >
> >
> > Hello,
> > We have some async processes and rather then set a |sleep for|someNum|. Is
> > there anyway to do a loop around a DBFit query for a status change and then
> > go to the next fixture? I'd like to also have some form of timeout in the
> > loop so if it doesn't ever change it's not in an infinite loop.
> >
> > Thanks,
> > Dharmesh
> >
> >
> >
>

#18452 From: "sergezukov" <sergebug@...>
Date: Mon Nov 14, 2011 11:34 pm
Subject: Re: What's the best way to loop
sergezukov
Send Email Send Email
 
Not sure if this would be particularly helpful but you could put the loop on the
database shoulders?
Last time I had a similar situation I've created a Stored Procedure which did a
check for a specific result in the loop in which case all FitNesse had to do was
a single call to a stored procedure.

S.

--- In fitnesse@yahoogroups.com, "dbpatel219" <dbpatel219@...> wrote:
>
> Sorry still a little unclear, are we saying we can't loop around the built in
DbFit which is in FitLibrary?  If not what's the best way to use an existing
Fixture that has already been instantiated?  Basically I'd like to write a
custom fixture that would leverage the dbfit that's already been instantiated. 
Is this possible?
>
> I.E. My custom fixture directly calling the methods in DbFit fixture classes? 
I'd create a wrapper method to have a timeout and loop around a dbfit fixture.
>
> Example:
> MyCustomFixture {
>      OracleTest tes = Fixture.loadFixture("Oracle");
>      Query q = (Query) tes.query("SQL SELECT STATEMENT");
>      //do something with the q and return.
> }
>
> This would assume the Oracle Fixture has been previously instantited and is
connected to DB.
>
> Dharmesh
>
> --- In fitnesse@yahoogroups.com, Rick Mugridge <rick.mugridge@> wrote:
> >
> > FitLibrary has this capability built in, but DbFit is not a FitLibrary
> > fixture, so it's unavailable to it. (FitLibrary runs Fit tables like DbFit
> > but DbFit can only use Fit capability).
> >
> > Eg in FitLibrary tables you can say:
> >
> > |''my action of''|2|''with''|3|'''is'''|5|
> >
> > to check immediately, and
> >
> > |''my action of''|2|''with''|3|'''becomes'''|5|
> >
> > to poll the action until it succeeds or up to a settable timeout period.
> >
> > Cheers, Rick
> >
> >
> >
> > On Sat, Nov 12, 2011 at 8:27 AM, dbpatel219 <dbpatel219@> wrote:
> >
> > > **
> > >
> > >
> > > Hello,
> > > We have some async processes and rather then set a |sleep for|someNum|. Is
> > > there anyway to do a loop around a DBFit query for a status change and
then
> > > go to the next fixture? I'd like to also have some form of timeout in the
> > > loop so if it doesn't ever change it's not in an infinite loop.
> > >
> > > Thanks,
> > > Dharmesh
> > >
> > >
> > >
> >
>

#18453 From: "sergezukov" <sergebug@...>
Date: Mon Nov 14, 2011 11:51 pm
Subject: Re: Fitnesse on a server, execute tests locally
sergezukov
Send Email Send Email
 
We used two different solutions:

#1 Central remote FitNesse server and Local FitNesse servers which would use the
central as a "remove Wiki" in which case you could "pseudo-magically"
synchronize your local instance with the central one every time you run your
local test. For more details on how to set this up see
.FitNesse.UserGuide.WikiImport

#2 Locally instantiate a FitRunner (we don't use SLIM) and pass a URL of the
test from the Remote FitNesse server. For details see
FitNesse.UserGuide.CommandLineTestRunner

I must say that we abandoned option #2 for various reasons as it was used to
wrap the FitNesse test inside MSTEST unit tests. The only option we use now is
#1.

--- In fitnesse@yahoogroups.com, "invertednz" <jamesfarrier@...> wrote:
>
> Hi all,
>
> I've been working on a webdriver framework for a while now, I guess it is
keyword driven now.  We would like for there to be a central place for users to
store tests, preferably on a wiki, but then when they are run they would open up
the browser on users local machine.
>
> I originally started working using Fitnesse, which works great for storing the
tests however when we hosted it on a server when a user tries to run a test it
opens the browser on the server which the user can't view.  Does anyone know a
way that I could force Fitnesse to open the users local browser or display the
browser to the user?  Or do you know another framework/way to store tests in a
central place but run them in local.
>
> Thanks,
> James
>

#18454 From: Grace Lee <fituser123@...>
Date: Tue Nov 15, 2011 12:33 am
Subject: DBFit
fituser123
Send Email Send Email
 
I got this error when adding condition

and customer_code <> '-999'   
java.sql.SQLException: ORA-00920: invalid relational operator

Is there a work around for the problem?

Thanks!
Grace

#18455 From: "dbpatel219" <dbpatel219@...>
Date: Tue Nov 15, 2011 2:22 pm
Subject: Re: DBFit
dbpatel219
Send Email Send Email
 
Did you try customer_code > -999 and customer_code < -999  Not the most elegant
solution but?  If customer_code is a string try is not '-999'

--- In fitnesse@yahoogroups.com, Grace Lee <fituser123@...> wrote:
>
> I got this error when adding condition
>
> and customer_code <> '-999'   
>
> java.sql.SQLException: ORA-00920: invalid relational operator
>
>
> Is there a work around for the problem?
>
> Thanks!
> Grace
>

#18456 From: "dbpatel219" <dbpatel219@...>
Date: Tue Nov 15, 2011 2:29 pm
Subject: Re: DBFit
dbpatel219
Send Email Send Email
 
Sorry ignore the is not portion.

--- In fitnesse@yahoogroups.com, Grace Lee <fituser123@...> wrote:
>
> I got this error when adding condition
>
> and customer_code <> '-999'   
>
> java.sql.SQLException: ORA-00920: invalid relational operator
>
>
> Is there a work around for the problem?
>
> Thanks!
> Grace
>

#18457 From: "dbpatel219" <dbpatel219@...>
Date: Tue Nov 15, 2011 2:31 pm
Subject: Re: DBFit
dbpatel219
Send Email Send Email
 
Sorry need to be more concise in my emails instead of shooting off multiple. 
Use -!<>!-.  The parser is interpreting the <> as HTML.

--- In fitnesse@yahoogroups.com, Grace Lee <fituser123@...> wrote:
>
> I got this error when adding condition
>
> and customer_code <> '-999'   
>
> java.sql.SQLException: ORA-00920: invalid relational operator
>
>
> Is there a work around for the problem?
>
> Thanks!
> Grace
>

#18458 From: Grace Lee <fituser123@...>
Date: Wed Nov 16, 2011 2:03 am
Subject: Re: Re: DBFit
fituser123
Send Email Send Email
 
Great!

Thank you so much!



From: dbpatel219 <dbpatel219@...>
To: fitnesse@yahoogroups.com
Sent: Tuesday, November 15, 2011 9:31 AM
Subject: [fitnesse] Re: DBFit

 
Sorry need to be more concise in my emails instead of shooting off multiple. Use -!<>!-. The parser is interpreting the <> as HTML.

--- In fitnesse@yahoogroups.com, Grace Lee <fituser123@...> wrote:
>
> I got this error when adding condition
>
> and customer_code <> '-999'   
>
> java.sql.SQLException: ORA-00920: invalid relational operator
>
>
> Is there a work around for the problem?
>
> Thanks!
> Grace
>




#18459 From: "aaron.kerwin" <aaron.kerwin@...>
Date: Wed Nov 16, 2011 10:06 pm
Subject: Java and .NET fixtures using traditional Fitnesse and Fitsharp
aaron.kerwin
Send Email Send Email
 
Hello,

I am trying to create a new .NET fixture for a very large and existing test
suite that was built upon the traditional Java implementation of Fitnesse. I
have my fixture working if I create it under a new project, but am unable to get
the fixture to run under a project that is running under Java. Is it possible to
have a test case that has a Suite Setup that is ran using the Java fixtures and
then have the rest of the test case run using Fitsharp?

Before my test code the Suite Setup runs the Java setup tests.
Here is my test code:
!define COMMAND_PATTERN {%m -r
fitnesse.fitserver.FitServer,C:\someDirectory\Fitnesse\dotnet2\fit.dll %p}
!define TEST_RUNNER {C:\someDirectory\Fitnesse\dotnet2\Runner.exe}
!path
C:\fixtureLocation\FileUploadFitNesseFixture\FileUploadFitNesseFixture\bin\Relea\
se\FileUploadFitNesseFixture.dll

!|FileUploadFitNesseFixture.UploadFixture|
|LocalFileLocation|RequestURI|PostFile?|StatusCode?|
|C:\Test
Artifacts\Course.Dropbox.Web.REST\Assembly99MB.zip|http://mySite.com/tempfiles?e\
xpand=false|{"tempFiles":[{"fileName":"\\pkg mb
spec.txt","token":"68d365c9-af79-49c2-84a0-3d128665ace9","fileLocation":"http://\
mySite.com/tempfiles/68d365c9-af79-49c2-84a0-3d128665ace9"}]}|201|

Like this the test "spins" and nothing happens.

When I comment out this line:  #!define TEST_RUNNER
{C:\p4\user\tesla\Fitnesse\dotnet2\Runner.exe}

Then I get this error:
Testing was interupted and results are incomplete.
Assertions: 0 right, 0 wrong, 0 ignored, 0 exceptions

When I comment out these lines: #!define COMMAND_PATTERN {%m -r
fitnesse.fitserver.FitServer,C:\p4\user\tesla\Fitnesse\dotnet2\fit.dll %p}
#!define TEST_RUNNER {C:\p4\user\tesla\Fitnesse\dotnet2\Runner.exe}

Then I get the Suite Setup to run (Java), but I get this error for the .NET
(Fitsharp) fixture:
FileUploadFitNesseFixture.UploadFixture
--------------------------------------------------------------------------------
  Could not find fixture: FileUploadFitNesseFixture.UploadFixture.

The only way I have been able to get my .NET fixture to run is by creating a new
project and running by itself. Unfortunately that is not an option to make this
useful. Is there a way to get Java and .NET to run under the same
project/suite/test case? All help is very much appreciated!

Thanks,
Aaron

#18460 From: "zhaohelen_2000" <zhaohelen@...>
Date: Thu Nov 17, 2011 1:50 am
Subject: Fitnesse running option
zhaohelen_2000
Send Email Send Email
 
Does anyone help for solving the problem?
User wants to setup running option while she is creating a new testcase.
Like could just stop executing other testcase if current test threw exception.
Or user have a option to choose continue execution or stop the whole test suite.

thanks in advance,

helen

#18461 From: Mike Stockdale <jediwhale@...>
Date: Thu Nov 17, 2011 2:48 am
Subject: Re: Java and .NET fixtures using traditional Fitnesse and Fitsharp
jediwhale
Send Email Send Email
 
My guess is this was not planned for by FitNesse developers and isn't currently supported by FitNesse, although FitNesse could be enhanced to support this if enough people requested it.  I haven't tried it myself.

On 2011-11-16 15:06, aaron.kerwin wrote:
 

Hello,

I am trying to create a new .NET fixture for a very large and existing test suite that was built upon the traditional Java implementation of Fitnesse. I have my fixture working if I create it under a new project, but am unable to get the fixture to run under a project that is running under Java. Is it possible to have a test case that has a Suite Setup that is ran using the Java fixtures and then have the rest of the test case run using Fitsharp?

Before my test code the Suite Setup runs the Java setup tests.
Here is my test code:
!define COMMAND_PATTERN {%m -r fitnesse.fitserver.FitServer,C:\someDirectory\Fitnesse\dotnet2\fit.dll %p}
!define TEST_RUNNER {C:\someDirectory\Fitnesse\dotnet2\Runner.exe}
!path C:\fixtureLocation\FileUploadFitNesseFixture\FileUploadFitNesseFixture\bin\Release\FileUploadFitNesseFixture.dll

!|FileUploadFitNesseFixture.UploadFixture|
|LocalFileLocation|RequestURI|PostFile?|StatusCode?|
|C:\Test Artifacts\Course.Dropbox.Web.REST\Assembly99MB.zip|http://mySite.com/tempfiles?expand=false|{"tempFiles":[{"fileName":"\\pkg mb spec.txt","token":"68d365c9-af79-49c2-84a0-3d128665ace9","fileLocation":"http://mySite.com/tempfiles/68d365c9-af79-49c2-84a0-3d128665ace9"}]}|201|

Like this the test "spins" and nothing happens.

When I comment out this line: #!define TEST_RUNNER {C:\p4\user\tesla\Fitnesse\dotnet2\Runner.exe}

Then I get this error:
Testing was interupted and results are incomplete.
Assertions: 0 right, 0 wrong, 0 ignored, 0 exceptions

When I comment out these lines: #!define COMMAND_PATTERN {%m -r fitnesse.fitserver.FitServer,C:\p4\user\tesla\Fitnesse\dotnet2\fit.dll %p}
#!define TEST_RUNNER {C:\p4\user\tesla\Fitnesse\dotnet2\Runner.exe}

Then I get the Suite Setup to run (Java), but I get this error for the .NET (Fitsharp) fixture:
FileUploadFitNesseFixture.UploadFixture
----------------------------------------------------------
Could not find fixture: FileUploadFitNesseFixture.UploadFixture.

The only way I have been able to get my .NET fixture to run is by creating a new project and running by itself. Unfortunately that is not an option to make this useful. Is there a way to get Java and .NET to run under the same project/suite/test case? All help is very much appreciated!

Thanks,
Aaron


--
Cheers,
Mike Stockdale

fitSharp
Syterra Software Inc.

#18462 From: "aaron.kerwin" <aaron.kerwin@...>
Date: Thu Nov 17, 2011 3:55 pm
Subject: Re: Java and .NET fixtures using traditional Fitnesse and Fitsharp
aaron.kerwin
Send Email Send Email
 
Well that is definitely not the answer I was hoping for. Any idea where I could
make that type of request? We might have to drop FitNesse all together if we
can't get more complete test coverage without needing to rewrite all the Java
fixtures.

Thanks for the reply!

--- In fitnesse@yahoogroups.com, Mike Stockdale <jediwhale@...> wrote:
>
> My guess is this was not planned for by FitNesse developers and isn't
> currently supported by FitNesse, although FitNesse could be enhanced to
> support this if enough people requested it.  I haven't tried it myself.
>
> On 2011-11-16 15:06, aaron.kerwin wrote:
> >
> > Hello,
> >
> > I am trying to create a new .NET fixture for a very large and existing
> > test suite that was built upon the traditional Java implementation of
> > Fitnesse. I have my fixture working if I create it under a new
> > project, but am unable to get the fixture to run under a project that
> > is running under Java. Is it possible to have a test case that has a
> > Suite Setup that is ran using the Java fixtures and then have the rest
> > of the test case run using Fitsharp?
> >
> > Before my test code the Suite Setup runs the Java setup tests.
> > Here is my test code:
> > !define COMMAND_PATTERN {%m -r
> > fitnesse.fitserver.FitServer,C:\someDirectory\Fitnesse\dotnet2\fit.dll %p}
> > !define TEST_RUNNER {C:\someDirectory\Fitnesse\dotnet2\Runner.exe}
> > !path
> >
C:\fixtureLocation\FileUploadFitNesseFixture\FileUploadFitNesseFixture\bin\Relea\
se\FileUploadFitNesseFixture.dll
> >
> > !|FileUploadFitNesseFixture.UploadFixture|
> > |LocalFileLocation|RequestURI|PostFile?|StatusCode?|
> > |C:\Test
> >
Artifacts\Course.Dropbox.Web.REST\Assembly99MB.zip|http://mySite.com/tempfiles?e\
xpand=false|{"tempFiles":[{"fileName":"\\pkg
> > mb
> >
spec.txt","token":"68d365c9-af79-49c2-84a0-3d128665ace9","fileLocation":"http://\
mySite.com/tempfiles/68d365c9-af79-49c2-84a0-3d128665ace9"}]}|201|
> >
> > Like this the test "spins" and nothing happens.
> >
> > When I comment out this line: #!define TEST_RUNNER
> > {C:\p4\user\tesla\Fitnesse\dotnet2\Runner.exe}
> >
> > Then I get this error:
> > Testing was interupted and results are incomplete.
> > Assertions: 0 right, 0 wrong, 0 ignored, 0 exceptions
> >
> > When I comment out these lines: #!define COMMAND_PATTERN {%m -r
> > fitnesse.fitserver.FitServer,C:\p4\user\tesla\Fitnesse\dotnet2\fit.dll %p}
> > #!define TEST_RUNNER {C:\p4\user\tesla\Fitnesse\dotnet2\Runner.exe}
> >
> > Then I get the Suite Setup to run (Java), but I get this error for the
> > .NET (Fitsharp) fixture:
> > FileUploadFitNesseFixture.UploadFixture
> > ----------------------------------------------------------
> > Could not find fixture: FileUploadFitNesseFixture.UploadFixture.
> >
> > The only way I have been able to get my .NET fixture to run is by
> > creating a new project and running by itself. Unfortunately that is
> > not an option to make this useful. Is there a way to get Java and .NET
> > to run under the same project/suite/test case? All help is very much
> > appreciated!
> >
> > Thanks,
> > Aaron
> >
> >
>
> --
> Cheers,
> Mike Stockdale
>
> /fit/Sharp <http://fitsharp.github.com>
> Syterra Software Inc. <http://www.syterra.com>
>

#18463 From: Patrick Furlong <pfurlong@...>
Date: Thu Nov 17, 2011 5:10 pm
Subject: Fitnesse Opportunity in Denver Colorado
mantheguns07
Send Email Send Email
 

I have an excellent Fitnesse oriented job opportunity in Denver, Colorado. 2+ years of experience. Well paid. Anyone with any interest, please let me know. Thanks a lot! Pardon the mass email.

 

Patrick Joseph Furlong

Technical Sourcing Coordinator

 

PROTOTEST

Colorado's Largest

Community of QA Experts

 

www.prototest.com

 

Office 720.457.2854

Mobile 303.918-3519

 

 

 


#18464 From: "sergezukov" <sergebug@...>
Date: Thu Nov 17, 2011 5:33 pm
Subject: Re: Fitnesse running option
sergezukov
Send Email Send Email
 
Exception handling may help. See StopTest in here:
http://fitnesse.org/FitNesse.UserGuide.SliM.ExceptionHandling

--- In fitnesse@yahoogroups.com, "zhaohelen_2000" <zhaohelen@...> wrote:
>
> Does anyone help for solving the problem?
> User wants to setup running option while she is creating a new testcase.
> Like could just stop executing other testcase if current test threw exception.
> Or user have a option to choose continue execution or stop the whole test
suite.
>
> thanks in advance,
>
> helen
>

#18465 From: Mike Stockdale <jediwhale@...>
Date: Fri Nov 18, 2011 3:12 am
Subject: Re: Re: Java and .NET fixtures using traditional Fitnesse and Fitsharp
jediwhale
Send Email Send Email
 
I did a few tests.  You can have a suite with mixed Java and .NET tests and sub-suites.  The problem is with a common SuiteSetUp - both the .NET and Java runners try to run the SuiteSetUp and it only works, of course, for one of them.  You'd need separate SuiteSetUps for a Java and a .NET sub-suite:

TopLevelSuite
  JavaSuite
    SuiteSetUp
    JavaTestOne
    JavaTestTwo
  NetSuite
    SuiteSetUp
    NetTestOne
    NetTestTwo
etc


On 2011-11-17 08:55, aaron.kerwin wrote:
 

Well that is definitely not the answer I was hoping for. Any idea where I could make that type of request? We might have to drop FitNesse all together if we can't get more complete test coverage without needing to rewrite all the Java fixtures.

Thanks for the reply!

--- In fitnesse@yahoogroups.com, Mike Stockdale <jediwhale@...> wrote:
>
> My guess is this was not planned for by FitNesse developers and isn't
> currently supported by FitNesse, although FitNesse could be enhanced to
> support this if enough people requested it. I haven't tried it myself.
>
> On 2011-11-16 15:06, aaron.kerwin wrote:
> >
> > Hello,
> >
> > I am trying to create a new .NET fixture for a very large and existing
> > test suite that was built upon the traditional Java implementation of
> > Fitnesse. I have my fixture working if I create it under a new
> > project, but am unable to get the fixture to run under a project that
> > is running under Java. Is it possible to have a test case that has a
> > Suite Setup that is ran using the Java fixtures and then have the rest
> > of the test case run using Fitsharp?
> >
> > Before my test code the Suite Setup runs the Java setup tests.
> > Here is my test code:
> > !define COMMAND_PATTERN {%m -r
> > fitnesse.fitserver.FitServer,C:\someDirectory\Fitnesse\dotnet2\fit.dll %p}
> > !define TEST_RUNNER {C:\someDirectory\Fitnesse\dotnet2\Runner.exe}
> > !path
> > C:\fixtureLocation\FileUploadFitNesseFixture\FileUploadFitNesseFixture\bin\Release\FileUploadFitNesseFixture.dll
> >
> > !|FileUploadFitNesseFixture.UploadFixture|
> > |LocalFileLocation|RequestURI|PostFile?|StatusCode?|
> > |C:\Test
> > Artifacts\Course.Dropbox.Web.REST\Assembly99MB.zip|http://mySite.com/tempfiles?expand=false|{"tempFiles":[{"fileName":"\\pkg
> > mb
> > spec.txt","token":"68d365c9-af79-49c2-84a0-3d128665ace9","fileLocation":"http://mySite.com/tempfiles/68d365c9-af79-49c2-84a0-3d128665ace9"}]}|201|
> >
> > Like this the test "spins" and nothing happens.
> >
> > When I comment out this line: #!define TEST_RUNNER
> > {C:\p4\user\tesla\Fitnesse\dotnet2\Runner.exe}
> >
> > Then I get this error:
> > Testing was interupted and results are incomplete.
> > Assertions: 0 right, 0 wrong, 0 ignored, 0 exceptions
> >
> > When I comment out these lines: #!define COMMAND_PATTERN {%m -r
> > fitnesse.fitserver.FitServer,C:\p4\user\tesla\Fitnesse\dotnet2\fit.dll %p}
> > #!define TEST_RUNNER {C:\p4\user\tesla\Fitnesse\dotnet2\Runner.exe}
> >
> > Then I get the Suite Setup to run (Java), but I get this error for the
> > .NET (Fitsharp) fixture:
> > FileUploadFitNesseFixture.UploadFixture
> > ----------------------------------------------------------
> > Could not find fixture: FileUploadFitNesseFixture.UploadFixture.
> >
> > The only way I have been able to get my .NET fixture to run is by
> > creating a new project and running by itself. Unfortunately that is
> > not an option to make this useful. Is there a way to get Java and .NET
> > to run under the same project/suite/test case? All help is very much
> > appreciated!
> >
> > Thanks,
> > Aaron
> >
> >
>
> --
> Cheers,
> Mike Stockdale
>
> /fit/Sharp <http://fitsharp.github.com>
> Syterra Software Inc. <http://www.syterra.com>
>


--
Cheers,
Mike Stockdale

fitSharp
Syterra Software Inc.

#18466 From: "ralf.kern@..." <r.kern@...>
Date: Fri Nov 18, 2011 12:01 pm
Subject: Displaying Port of FitNesse-Server in TestHistory
ralf.kern...
Send Email Send Email
 
Hi folks,

We are running several FitNesse-Servers with different ports on one machine.
They are are using the same testcases, but different environments, which are set
on startup of each server.

Now, when somebody is looking at the testhistory, of a suite/test, one cannot
see, which server actually ran the tests.
So, we need to display the port-number in the testhistory.

For that I did some small changes in the source code and the templates.

I think this information, could be of interest for other fitnesse-users, too.
So, I am wondering, if this change could be done in the fitnesse-repository. I
would look forward to share my changes for that!

Another good thing would be, to display the port-number also in the
testhistory-overview for a suite/test - but for that, the port would have to be
included in the filenames...

Messages 18437 - 18466 of 20146   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help