Login | Register
My pages Projects Community openCollabNet

Discussions > users > [maxq-users] Maxq can't record uploading a file?

maxq
Discussion topic

Hide all messages in topic

All messages in topic

Re: [maxq-users] Maxq can't record uploading a file?

Author oliverbock
Full name Oliver Bock
Date 2008-01-24 15:03:28 PST
Message Jack Brown wrote:
> But I am only using maxq to record, not to run the script, I am running the
> script from eclipse. So if I could only figure out how to manually modify
> the script to send the file to the server, my problems would be solved. Any
> tips are appreciated!
>

Running the script still relies on MaxQ classes to concisely send
GET/POST requests and check results. Of course you could write custom
Jython code to perform the upload manually, but I don't have any code on
hand that does this.


  Oliver

Re: [maxq-users] Maxq can't record uploading a file?

Author fcohen
Full name Frank Cohen
Date 2008-01-24 14:55:30 PST
Message Hi Jack and Oliver:

There is multipart mime support in the MaxQ code but I do not think
it works. It's been a long time since I looked at the code base.

And now for a shameless plug, PushToTest Version 5 has a multipart
mime handler and support for recording uploads using TestGen4Web.
Details at http://www.pushtotest.com

-Frank



On Jan 24, 2008, at 1:16 PM, Oliver Bock wrote:

> Jack Brown wrote:
>> I have a webpage where there is an upload button, you click the
>> button then
>> select the file to upload, then click ok and the file is uploaded
>> from your
>> harddisk to the server. It seems that maxq can't record this, when
>> I click
>> upload choose the file and click ok, maxq gives an error popup
>> (but there is
>> no error msg on the popup). Anyone know how I can get around this,
>> or tell
>> me what the post statement would look like, I don't know enough
>> about
>> python to write the post statement myself. Thanks in advance.
>>
>
> I think you are right that maxq does not support upload. I suspect
> that getting file upload working, even when editing the script
> manually rather than recording, would require changes to MaxQ
> itself (Java).
>
>
> Oliver
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: users-unsubscribe@ma​xq.tigris.org
> For additional commands, e-mail: users-help at maxq dot tigris dot org
>
>



--
Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 871 0122
TestMaker open-source test automation

Re: [maxq-users] Maxq can't record uploading a file?

Author Jack Brown <danp678 at mailinator dot com>
Full name Jack Brown <danp678 at mailinator dot com>
Date 2008-01-24 14:09:02 PST
Message > I think you are right that maxq does not support upload. I suspect that
> getting file upload working, even when editing the script manually
> rather than recording, would require changes to MaxQ itself (Java).
>
>
> Oliver


But I am only using maxq to record, not to run the script, I am running the
script from eclipse. So if I could only figure out how to manually modify
the script to send the file to the server, my problems would be solved. Any
tips are appreciated!
--
View this message in context: http://www.nabble.co​m/Maxq-can%27t-recor​d-uploading-a-file--​tp15068764p15076252.​html
Sent from the maxq - users mailing list archive at Nabble.com.

Re: [maxq-users] Maxq can't record uploading a file?

Author oliverbock
Full name Oliver Bock
Date 2008-01-24 13:16:56 PST
Message Jack Brown wrote:
> I have a webpage where there is an upload button, you click the button then
> select the file to upload, then click ok and the file is uploaded from your
> harddisk to the server. It seems that maxq can't record this, when I click
> upload choose the file and click ok, maxq gives an error popup (but there is
> no error msg on the popup). Anyone know how I can get around this, or tell
> me what the post statement would look like, I don't know enough about
> python to write the post statement myself. Thanks in advance.
>

I think you are right that maxq does not support upload. I suspect that
getting file upload working, even when editing the script manually
rather than recording, would require changes to MaxQ itself (Java).


  Oliver

[maxq-users] Maxq can't record uploading a file?

Author Jack Brown <danp678 at mailinator dot com>
Full name Jack Brown <danp678 at mailinator dot com>
Date 2008-01-24 08:20:33 PST
Message I have a webpage where there is an upload button, you click the button then
select the file to upload, then click ok and the file is uploaded from your
harddisk to the server. It seems that maxq can't record this, when I click
upload choose the file and click ok, maxq gives an error popup (but there is
no error msg on the popup). Anyone know how I can get around this, or tell
me what the post statement would look like, I don't know enough about
python to write the post statement myself. Thanks in advance.
--
View this message in context: http://www.nabble.co​m/Maxq-can%27t-recor​d-uploading-a-file--​tp15068764p15068764.​html
Sent from the maxq - users mailing list archive at Nabble.com.
Messages per page: