[Webtest] error while testing
prashanth k p
prashanth k p" <konkodi210@gmail.com
Tue, 9 Jan 2007 18:05:47 +0530
------=_Part_96788_31989183.1168346147673
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi all,
we have one web application. i want test using canoo webtest.I have recorded
the xml config using mozzila plug in which shown below
<project name="SimpleTest" basedir="." default="main">
<property name="webtest.home" location="C:\Documents and
Settings\pkonkodi\My Documents\mozila download\build(2)" />
<import file="${webtest.home}/lib/taskdef.xml"/>
<target name="main">
<webtest name="myTest">
<config
host="http://9.124.47.175:9081"
port="80"
protocol="http"
basepath="wps/portal" />
<steps>
<invoke description="Get the page" url="
http://9.124.47.175:9081/wps/portal"/>
<setInputField description="Set text field
wps.portlets.userid" name="wps.portlets.userid" value="userName"/>
<setInputField description="Set password field password:
password" name="password" value="password"/>
<clickButton description="Click submit button: Log in"
name="PC_7_0_64__login"/>
<setInputField description="Set password field
com_ibm_lifesci_score_ui_WorkArearepositoryPassword: password"
name="com_ibm_lifesci_score_ui_WorkArearepositoryPassword"
value="password"/>
<clickButton description="Click submit button: Log in"
name="submitinput"/>
<clickLink description="Click link: Regulated"
label="Regulated"/>
</steps>
</webtest>
</target>
</project>
Appserer:Websphere Portal server
when ever it try to find the link Regulated it throws exception saying it
has not found link. but i can see that link in normal browser.
same thing i have tried using HtmlUnit API. i got same issue. can i know
what is the root problem.
--
regards
Prashantha K P
------=_Part_96788_31989183.1168346147673
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi all,<br><br>we have one web application. i want test using canoo webtest.I have recorded the xml config using mozzila plug in which shown below<br><br><project name="SimpleTest" basedir="." default="main">
<br><br> <property name="webtest.home" location="C:\Documents and Settings\pkonkodi\My Documents\mozila download\build(2)" /><br> <import file="${webtest.home}/lib/taskdef.xml"/>
<br><br> <target name="main"><br> <webtest name="myTest"><br> <config<br> host="<a href="http://9.124.47.175:9081">http://9.124.47.175:9081</a>
"<br> port="80"<br> protocol="http"<br> basepath="wps/portal" /><br> <steps><br> <invoke description="Get the page" url="
<a href="http://9.124.47.175:9081/wps/portal">http://9.124.47.175:9081/wps/portal</a>"/><br> <setInputField description="Set text field wps.portlets.userid" name="wps.portlets.userid
" value="userName"/><br> <setInputField description="Set password field password: password" name="password" value="password"/><br> <clickButton description="Click submit button: Log in" name="PC_7_0_64__login"/>
<br> <setInputField description="Set password field com_ibm_lifesci_score_ui_WorkArearepositoryPassword: password" name="com_ibm_lifesci_score_ui_WorkArearepositoryPassword" value="password"/>
<br> <clickButton description="Click submit button: Log in" name="submitinput"/><br> <span style="font-weight: bold;"><clickLink description="Click link: Regulated" label="Regulated"/>
</span><br> </steps><br> </webtest><br> </target><br></project><br><br><span style="font-weight: bold;">Appserer:<span style="font-weight: bold;"><span style="font-weight: bold;">
Websphere Portal server</span></span></span><br clear="all">when ever it try to find the link <span style="font-weight: bold;">Regulated </span>it throws exception saying it has not found link. but i can see that link in normal browser.
<br><br>same thing i have tried using HtmlUnit API. i got same issue. can i know what is the root problem.<br>-- <br>regards<br>Prashantha K P
------=_Part_96788_31989183.1168346147673--