[Webtest] [webtest][JIRA] Closed: (WT-88) javaranch -login failed

Marc Guillemot (JIRA) webtest@lists.canoo.com
Wed, 28 Sep 2005 13:14:27 +0200 (CEST)


     [ http://webtest-community.canoo.com/jira/browse/WT-88?page=history ]
     
Marc Guillemot closed WT-88:
----------------------------

    Resolution: Incomplete

Do you really think that someone will have time to try your script and find why you say that it doesn't work without saying anything about what fails? Unless you pay someone for that, it will not happen before a long long time therefore I close this issue.

Please reopen it if you're able to provide information on what fails.

The followRedirect messages are without signification: redirection is handled in htmlunit and not in commons-httpclient.

> javaranch -login failed
> -----------------------
>
>          Key: WT-88
>          URL: http://webtest-community.canoo.com/jira/browse/WT-88
>      Project: WebTest
>         Type: Bug
>  Environment: XP
> java version "1.5.0_04"
> webtest - Release 1.6-544
>     Reporter: eric sato

>
> Hi guys,
>  I just used this opens source for research and i used one of the web site from internet to do testing (http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=login)
> But my login failed.
> Here my script
> Hope to hear from you.
> Btw how do i enable followRedirects ??
> Cheers
>  <project name="SimpleTest" basedir="." default="main">
> 	 <property name="webtest.home" location="C:/Documents and Settings/Admin/Desktop/PlayNRecording/canoo/build" />
>   <import file="${webtest.home}/lib/taskdef.xml"/>
>   <target name="main">
>     <webtest name="myTest">
>       <config
>         host="saloon.javaranch.com"
> 	port="80"
>         protocol="http"
> 	basepath="cgi-bin"
>         saveresponse="true"
>         resultpath="C:\Documents and Settings\Admin\Desktop\PlayNRecording\canoo\build\kh_test\results"/>
>       <steps>
>         <invoke
>           description="get Login Page"
> 	  url="ubb/ultimatebb.cgi?ubb=login" />
>   
>   	<storeCookie name="*" />
> 	
> 	 <setInputField description="set user name"
>   	   name="username"
>      	   value="kh_test" />
> 	 <setInputField description="set password"
>    	   name="password"
>   	   value="XXXXXXXX" />
>    
> 	<emulateSetHiddenInputField name="ubb" value="do_login"/>
> 	<emulateSetHiddenInputField name="refer" value="http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=logoff"/>
>    	<clickButton
>   	   label="Login"
> 	   description="Click the submit button" />
>    
> 	 <verifyText description="verify login"
>   	  text="kh_test"  />
>       </steps>
>     </webtest>
>   </target>
> </project>

-- 
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