>>>>> On Wed, 31 Jul 2002 12:43:39 -0400, "William McKee" <wi...@kn...> said:
WM> On 31 Jul 2002 at 11:11, William McKee wrote:
>> On 31 Jul 2002 at 18:29, Ilya Martynov wrote:
>> > It *should* work. Beware that Click plugin is very new (thus probably
>> > buggy) and all it does is setting url for next test.
>>
>> I'll put together a sample page to test. It it fails, I'll send it to the
>> list.
WM> I created a test with multiple forms which was
WM> successful. However, I'm still having problems with a test script
WM> on my real page. It probably has to do with the complexity of the
WM> page. I'm going to do a bit more debugging in the Click.pm module
WM> to see what I can discover.
You can send me this HTML page so I find what confuses form parser in
Click plugin. If there is any private data in this HTML page send it
me off-list (or just delete it from this page).
WM> BTW, while creating this test, I forgot to include the 'plugins =
WM> ( ::Click )' parameter which resulted in the following message:
WM> HTTP::WebTest: request uri is not set at
WM> /usr/local/share/perl/5.6.1/HTTP/WebTes t/API.pm line 554.
WM> It took me about half a minute to realize what I did wrong. May be
WM> useful to make this error message a bit more verbose if a
WM> click_button parameter is being invoked in the current test.
Due to plugable nature of HTTP-WebTest it is not very easy to produce
really clear error message. Any plugin can define any test parameter.
However it seems to be possible to check if wtscript contains test
parameters unknown to currently loaded plugins. I will add such check
in next version.
--
Ilya Martynov (http://martynov.org/)
|