Salut Thibault,
I wouldn't be surprised if you're using WebTest 3.0. Please prefer a
recent build: the createComment problem has been fixed in HtmlUnit since
a long time.
Cheers,
Marc.
--
HtmlUnit support & consulting from the source
Blog: http://mguillem.wordpress.com
On 10/26/2010 12:54 AM, Thibaut Colar wrote:
Hello I'm pretty new to Canoo webTest, and am having an issue testing
our site.
It fails because of a javascript error (however firefox error console do
not show any error)
Anyway to either find a way to resolve that or at least ignore it ?
Thanks.
<mailto:[email protected]>---
Error
Message
JavaScript error loading page https://pcoastqa.pcf.com/: TypeError:
Cannot find function createComment in object [object].
(WebtestCase.groovy#87)
---
Here is my test
---
public class PCoastTest extends WebtestCase
{
void testHomePage()
{
webtest("Check pcoast home page")
{
invoke url: "https://pcoastqa.pcf.com/", description: "Go to homepage"
verifyTitle "Title"
// .....
}
}
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest