[Webtest] [webtest][JIRA] Created: (WT-88) javaranch -login failed
eric sato (JIRA)
webtest@lists.canoo.com
Wed, 28 Sep 2005 12:57:30 +0200 (CEST)
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