i find one solution but it's not very clean.
I added :
<config  browser="FF3"/>

But i tried with IE my manuel test and it's ok.

Perhaps, there is one problem with my library HTMLunit 2.4...


2010/4/14 Hueneke, Immo <[email protected]>

> Is it possible that your Javascript is disabled in WebTest? See
> http://webtest.canoo.com/webtest/manual/enableJavaScript.html
>
> See http://webtest-community.canoo.com/wiki/space/Javascript and
> http://webtest.canoo.com/webtest/manual/troubleshooting.html#JavaScript%20Errorsfor
>  other possible gotchas.
>
> Best regards,
> Immo
> ________________________________________
> From: [email protected] [[email protected]] On
> Behalf Of chocn roll [[email protected]]
> Sent: 14 April 2010 09:56
> To: [email protected]
> Subject: [Webtest] ClickButton and Javascript
>
> Hello,
>
> I have got problem with step ClickButton.
>
> My html is :
>
> <input id="td:Ok" type="submit" name="td:Ok" value="Delete"
> onclick="javascript:Richfaces.hideModalPanel('deletePopup')" />
>
> My step canoo is :
>
> <clickButton  xpath="//inp...@id='td:Ok']"/>
>
> I haven't got any problem with this command in 'webtest test report' but my
> javascript is not launch.
>
> In my page, i have got only one button with id td:Ok and i use the last
> build of canoo.
>
> Have you got idea ?
>
> Thanks.
>
>

Reply via email to