[Webtest] GWT table testing via WebTest - is it possible?

Andrew Sickorsky Andrew Sickorsky <andrew.sickorsky@texunatech.com>
Wed, 6 Jun 2007 17:26:20 +0400


------------89381B19A02BA9
Content-Type: text/plain; charset=windows-1251
Content-Transfer-Encoding: quoted-printable

Hello all!

We are using GWT for our apllication, and the problem is that this table is=
 generated 'on-the-fly' via JavaScript. Is it possible to test such table u=
sing WebTest? Now it seems that WebTest couldn't click/verify cells of this=
 table ('No suitable form found' and etc. errors are shown though XPath is =
correct)=20

 =20

--=20
Best regards,
 Andrew                          mailto:andrew.sickorsky@texunatech.com
------------89381B19A02BA9
Content-Type: text/html; charset=windows-1251
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title></title>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dwindows-125=
1">
<meta http-equiv=3D"Content-Style-Type" content=3D"text/css">
<style type=3D"text/css"><!--
body {
  margin: 5px 5px 5px 5px;
  background-color: #ffffff;
}
/* ---------- Text Styles ---------- */
hr { color: #000000}
body, table /* Normal text */
{
 font-size: 9pt;
 font-family: 'Courier New';
 font-style: normal;
 font-weight: normal;
 color: #000000;
 text-decoration: none;
}
span.rvts1 /* Heading */
{
 font-size: 10pt;
 font-family: 'Arial';
 font-weight: bold;
 color: #0000ff;
}
span.rvts2 /* Subheading */
{
 font-size: 10pt;
 font-family: 'Arial';
 font-weight: bold;
 color: #000080;
}
span.rvts3 /* Keywords */
{
 font-size: 10pt;
 font-family: 'Arial';
 font-style: italic;
 color: #800000;
}
a.rvts4, span.rvts4 /* Jump 1 */
{
 font-size: 10pt;
 font-family: 'Arial';
 color: #008000;
 text-decoration: underline;
}
a.rvts5, span.rvts5 /* Jump 2 */
{
 font-size: 10pt;
 font-family: 'Arial';
 color: #008000;
 text-decoration: underline;
}
span.rvts6
{
 font-size: 8pt;
 font-family: 'arial';
 font-style: italic;
 color: #c0c0c0;
}
a.rvts7, span.rvts7
{
 font-size: 8pt;
 font-family: 'arial';
 color: #0000ff;
 text-decoration: underline;
}
/* ---------- Para Styles ---------- */
p,ul,ol /* Paragraph Style */
{
 text-align: left;
 text-indent: 0px;
 padding: 0px 0px 0px 0px;
 margin: 0px 0px 0px 0px;
}
.rvps1 /* Centered */
{
 text-align: center;
}
--></style>
</head>
<body>

<p>Hello all!</p>
<p><br></p>
<p>We are using GWT for our apllication, and the problem is that this table=
 is generated 'on-the-fly' via JavaScript. Is it possible to test such tabl=
e using WebTest? Now it seems that WebTest couldn't click/verify cells of t=
his table ('No suitable form found' and etc. errors are shown though XPath =
is correct)&nbsp;</p>
<p><br></p>
<p>&nbsp;&nbsp;</p>
<p><br></p>
<p><span class=3Drvts6>--&nbsp;</span></p>
<p><span class=3Drvts6>Best regards,</span></p>
<p><span class=3Drvts6>&nbsp;Andrew &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbs=
p; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><a class=3Drvts7 =
href=3D"mailto:andrew.sickorsky@texunatech.com">mailto:andrew.sickorsky@tex=
unatech.com</a></p>

</body></html>
------------89381B19A02BA9--