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.

Re: [java-gui-testing] Marathon NameError: default

From:"Dakshinamurthy Karra" [technovator@masked-domain]
Sent on:Fri, 22 Feb 2008 09:56:21 +0530
In reply to:[java-gui-testing] Marathon NameError: default sent on Thu, 21 Feb 2008 07:03:10 -0800 (PST) by serdsch [sergio.weigel@masked-domain]


Please use Marathon help forum - I generally check it out frequently
and might be able to respond faster.

That said, when configuring a project you need to give the full path
to the class name (like x.y.z.ClassName) rather than just the main
class name. In 90% of the cases, that is the reason for this error
message.

HTH.

-- KD


On Thu, Feb 21, 2008 at 8:33 PM, serdsch <[sergio.weigel@masked-domain]> wrote:
>
>
>
>
>
>
>
> 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.
>
>



--
Dakshinamurthy Karra (http://blog.jaliansystems.com)

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

Other messages in this topic

SenderDate sentSubject
serdsch [sergio.weigel@masked-domain]Thu, 21 Feb 2008 07:03:10 -0800 (PST)[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