The most likely cause for the error appearing is "creating" a module
by the name csv. If you have created a module by the name "csv", try
deleting it and create the module with other name.
Jython library has a module by the name csv in it, which has to be
used to read from CSV files.
With regards,
Sampathkumar R.
> --
> You received this message because you are subscribed to the Google
> Groups "Marathon Java GUI Testing" group.
> To post to this group, send email to marathon-
> tes...@googlegroups.com.
> To unsubscribe from this group, send email to marathon-testi...@googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/group/marathon-testing?hl=en
> .
>
Hi,
Here I am attaching the sample application to read the test data from
a csv file and test it. Kindly unzip and open this application from
Marathon.
Update the "Python home" under "Python Path" tab in the menu Marathon -
> Project Settings to point to your Jython home (Note that version of
Jython should be 2.5).
Play the script "CSVReadTest.py" and let me know the outcome.
With regards,
Sampathkumar R
IndentationError is caused by improper indentation of the Jython script.
Jython is sensitive to indentation too. I request you to have a look
at Jython's tutorial available at Marathon blog under the
"Documentation" as Jython Tutorial: Part - 1 and Part - 2.
With regards,
Sampathkumar R