The recorder is only here to help during conception. There is no assurance
that the recorded tests will work ;-(

Are you sure the test works on the right page? You should see in the error
message which link are available for WebTest in the page. This may help.

Marc.


prashanth k p wrote:
> 
> 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/error-while-testing-tf2945632.html#a8239435
Sent from the WebTest mailing list archive at Nabble.com.

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to