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

Reply via email to