Is this your first time here? SwingWiki is a Java Swing Developer community site with an big archive of Swing-related usenet groups and mailing lists, but also tips, tricks and articles and book reviews written by your colleagues from around the world. If you came here through a search engine and did not find what you were looking for, make sure to check the wiki table of contents.

[java-gui-testing] Marathon NameError: default

From:serdsch [sergio.weigel@masked-domain]
Sent on:Thu, 21 Feb 2008 07:03:10 -0800 (PST)



I want to use Marathon for testing a GUI and we had it working before. Now
the test cases have changed, so I had to modularize the whole Marathon
project into smaller ones. I created the new projects out of Marathon and I
got the usual folder structure (Fixtures, Modules, TestCases) and the
.project configuration file. I let Marathon create my default Fixture and
its contents are just the same as the one before. When I create a new Test
script out of Marathon (or from eclipse, or from a txt-tool) and I try to
run it or to record with Marathon, I always get an Python error:

ScriptException: NameError: default

I use the standard method at the beginning of my test scripts:
useFixture(default), and even if I let Marathon create it automatically, it
still cannot recognize 'default', although it asks me to overwrite the
existing file default.py, which tells me, the marathon.fixture.dir property
is correctly set to %marathon.project.dir%/Fixtures.

I have absolutely no idea what is wrong here and if I can't fix it, I wont
be able to use Marathon for any more testing.

Somebody has an idea?

Thx, Sergio
--
View this message in context: http://www.nabble.com/Marathon-NameError%3A-default-tp15612875p15612875.html
Sent from the Java GUI Testing mailing list archive at Nabble.com.


--
Found what you were looking for? If not - continue at Wiki Index

Other messages in this topic

SenderDate sentSubject
"Dakshinamurthy Karra" [technovator@masked-domain]Fri, 22 Feb 2008 09:56:21 +0530Re: [java-gui-testing] Marathon NameError: default

 
Recent changes | RSS changes | Table of contents | News Archive | Terms And Conditions | Register | The Quest For Software++| Ruby Resources
FitNesse Resources