Maxq can't record uploading a file?

View: New views
5 Messages — Rating Filter:   Alert me  

Maxq can't record uploading a file?

by Jack Brown :: Rate this Message:

Reply to Author | View Threaded | Show Only this 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.

Re: Maxq can't record uploading a file?

by Oliver Bock :: Rate this Message:

Reply to Author | View Threaded | Show Only this 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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Maxq can't record uploading a file?

by Jack Brown :: Rate this Message:

Reply to Author | View Threaded | Show Only this 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!

Parent Message unknown Re: Maxq can't record uploading a file?

by Frank Cohen :: Rate this Message:

Reply to Author | View Threaded | Show Only this 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@...
> For additional commands, e-mail: users-help@...
>
>



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




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Maxq can't record uploading a file?

by Oliver Bock :: Rate this Message:

Reply to Author | View Threaded | Show Only this 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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

LightInTheBox - Buy quality products at wholesale price!