[Webtest] clicklink and showmodaldialog
Marc Guillemot
webtest@lists.canoo.com
Thu, 19 Feb 2004 09:48:42 +0100
As far as I know, httpunit doesn't support showmodaldialog() (see
http://httpunit.sourceforge.net/doc/javascript-support.html) therefore I don't
see any possibility to test it directly.
If it would be enough to call the page that is normally opened in the js call,
you could extract its url from the javascript and then perform a <invoke .../>
on it.
Marc.
stephane.ruffieux@itpearls.com wrote:
> Hello,
>
> I evaluate canoo webtest and I found the product very good.
>
> I have a problem with the function clicklink. I try to click a link, which is a
> javascript call to the method window.showmodaldialog(). This method is a
> specific IExplorer method. My problem is that the answer to this click is not
> the new open page, but the same page as the source page (page where I click).
>
> Do you see a workaround to test this click?
>
> Thank you.
>
> Best regards.
>
> Stéphane Ruffieux
>
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>