[Webtest] [webtest][JIRA] Closed: (WT-60) Create step <receive-response enable="true/false"/>

Paul King (JIRA) webtest@lists.canoo.com
Thu, 7 Jul 2005 11:28:51 +0200 (CEST)


     [ http://webtest-community.canoo.com/jira/browse/WT-60?page=history ]
     
Paul King closed WT-60:
-----------------------

    Resolution: Won't Fix

changed resolution type

> Create step <receive-response enable="true/false"/>
> ---------------------------------------------------
>
>          Key: WT-60
>          URL: http://webtest-community.canoo.com/jira/browse/WT-60
>      Project: WebTest
>         Type: New Feature
>     Versions: 1.7-SNAPSHOT
>     Reporter: Serge Maslyukov
>     Assignee: Paul King

>
> I'm work with WebSpherePortal 5.0. IBM's implementation of login page have a lot of JavaScript. As a result, after fill the login form and click on 'Login' button, I got JavaScriptException:
> Enclosed exception: 
> org.mozilla.javascript.EcmaError: TypeError: captureEvents is not a function. (Embedded script#25)
> But if I skip a receive of response of clicking on 'Login', I can continue execute my webtest script.
> For this I would like to have a step <receive-response enable="true/false"/>
> This step must talk to webscript what all next responce must not be received.
> My script would be like this:
> <invoke stepid="get Login Page" url="${login-url}" save="login-"/>
> <setinputfield stepid="set user name" name="userid" value="${username}"/>
> <setinputfield stepid="set password" name="password" value="${password}"/>
> <receive-response enable="false"/>
> <clickbutton label="Log in" stepid="Click the submit button" save="after-login-"/>
> <receive-response enable="true"/>
> <invoke stepid="Invoke welcome page" url="/wps/myportal/portlets" save="welcome-page-"/>
> Serge Maslyukov

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira