|
View:
New views
11 Messages
—
Rating Filter:
Alert me
|
|
|
Capture return dataIs there a method with maxq by which I can parse
the html that comes back other than just the return value?
Thanks,
jh
|
|
|
Adding python libsI wanted to add some python url routines so I added
the statement. I edited environment varialbes and have added C:\Python25\Lib to
PYTHONPATH but get the no module message when the statement
import urllib
is executed.
Even tried copying the urllib file to my working
directory, which is c:\maxq\bin\testScripts.
Any ideas?
|
|
|
Re: Adding python libsYou need to use python.path in maxq.properties
On 08/05/2007, at 08:05, jh wrote:
|
|
|
Re: Capture return dataYou might be able to get by with Jython's string class and regular expressions, but they're not well suited to HTML. You could use one of the many HTML parsing libraries written in Java, and you could probably also use the XML/HTML parsing from the Python standard libraries if it's in pure Python (which it probably is).
Oliver -- On 08/05/2007, at 06:58, jh wrote:
|
|
|
Re: Capture return dataTurns out all I needed to do was:
data = self.getResponse()
|
|
|
I/OIs there a way to allow user input when running
maxq scripts?
It seems my prompts show up in the maxq window but
responses have to be in the 'cmd' window.
Thanx,
jh
|
|
|
Re: I/ONo, this is a bug. It should detect when it's running in the MaxQ GUI
and show a text input in that case. It works fine if you run your scripts via the command line. Oliver -- jh wrote: > Is there a way to allow user input when running maxq scripts? > > It seems my prompts show up in the maxq window but responses have to > be in the 'cmd' window. > > Thanx, > > jh --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
python.pathpython.path was commented in in
maxq\conf\maxq.properties.
The notes in the file say to separate multiple
directories. I assume that since directories can have a : in the name such as
c:\python22 the directories must be quoted. So I tried quoting them and
separating them with semicolons with and without qoutes.
The paths I added were:
.
c:\python22
c:\maxq
After doing so I get the error
message:
ImportError: no module named
PyHttpTestCase
So tried adding c:\maxq\jython to no
avail.
Suggestions please.
Thanks,
john
|
|
|
Re: python.path
Oliver P.S. You should be using semicolons to separate paths and not using quotes. |
|
|
Re: python.pathI have tortoiseSVN is it compatible with CVS? Not
sure how to go about downloading and running the CVS version, do I
download everything?
|
|
|
Re: python.pathYou will need to get a CVS client (e.g. Tortoise CVS or the command-line client). There are instructions on getting the repository under "CVS" in the left-side navigation bar at maxq.tigris.org. Oliver -- There are instructions on On 22/05/2007, at 23:55, jh wrote:
|
| Free embeddable forum powered by Nabble | Forum Help |