3 messages in com.canoo.lists.webtest[Webtest] Submitting form with relati...
FromSent OnAttachments
geoj...@lexmark.com16 Jun 2008 07:56 
Marc Guillemot17 Jun 2008 00:22 
geoj...@lexmark.com17 Jun 2008 06:25 
Subject:[Webtest] Submitting form with relative URL
From:geoj...@lexmark.com (geoj@lexmark.com)
Date:06/16/2008 07:56:32 AM
List:com.canoo.lists.webtest

Hello all,

I'm trying to write some tests for a WebUI which often uses relative URLs for form actions. (For example: action="/cgi-bin/handler.cgi") The problem is, WebTest seems to choke on these forms when I instruct it to click the submit button for the form. The data seems to be submitted to a non-existant URL, and not the actual host. Is there any way around this? Can I specify an exact action URL for the form or add the correct host to the action?

Thanks in advance.

George