[Webtest] Fwd: no alert/confirm handler installed warning after attempt to pass through java-script dialogs

Andrew Sickorsky Andrew Sickorsky <andrew.sickorsky@texunatech.com>
Mon, 4 Jun 2007 11:25:17 +0400


------------B6F6FEEEC7328
Content-Type: multipart/alternative;
 boundary="----------3210F782D27CD89"


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

This is a forwarded message
From: Andrew Sickorsky <andrew.sickorsky@texunatech.com>
To: webtest@lists.canoo.com
Date: Wednesday, May 30, 2007, 12:49:29 PM
Subject: no alert/confirm handler installed warning after attempt to pass t=
hrough java-script dialogs

=3D=3D=3D8<=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DOriginal message text=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Hello All!

I'm trying to use WebTest with pop-up alert/confirm messages via ExpectDial=
og:

<expectDialog description=3D"Expected dialog for record duplicating" dialog=
Type=3D"confirm"/>
<clickElement xpath=3D"//ul[@class=3D'dataProcessing']/li/input[@alt=3D'Dup=
licate record']" description=3D"Duplicate first 10 records"/>
<verifyText text=3D"Total records: 110" />

But nothing happens: there is one warning  "window.alert("Please select row=
s") no alert handler installed". =20
BTW no scence in presence of <expectDialog> step in the testsuite.

So, what should I do/install/remove/modify to force WebTest to click on suc=
h dialogs?

WebTest 2.5 was used.

Thanks in advance, and sorry for disturbing

--=20
Best regards,
 Andrew.=20
Texuna Tech                          mailto:andrew.sickorsky@texunatech.com


=3D=3D=3D8<=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DEnd of original message text=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D



--=20
Best regards,
 Andrew                            mailto:andrew.sickorsky@texunatech.com
------------3210F782D27CD89
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;
}
a.rvts6, span.rvts6
{
 color: #0000ff;
 text-decoration: underline;
}
span.rvts7
{
 font-size: 8pt;
 font-family: 'arial';
 font-style: italic;
 color: #c0c0c0;
}
a.rvts8, span.rvts8
{
 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>This is a forwarded message</p>
<p>From: Andrew Sickorsky &lt;<a class=3Drvts6 href=3D"mailto:andrew.sickor=
sky@texunatech.com">andrew.sickorsky@texunatech.com</a>&gt;</p>
<p>To:&nbsp;<a class=3Drvts6 href=3D"mailto:webtest@lists.canoo.com">webtes=
t@lists.canoo.com</a></p>
<p>Date: Wednesday, May 30, 2007, 12:49:29 PM</p>
<p>Subject: no alert/confirm handler installed warning after attempt to pas=
s through java-script dialogs</p>
<p><br></p>
<p>=3D=3D=3D8&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DOriginal message=
 text=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</p>
<p>Hello All!</p>
<p><br></p>
<p>I'm trying to use WebTest with pop-up alert/confirm messages via ExpectD=
ialog:</p>
<p><br></p>
<p>&lt;expectDialog description=3D"Expected dialog for record duplicating" =
dialogType=3D"confirm"/&gt;</p>
<p>&lt;clickElement xpath=3D"//ul[@class=3D'dataProcessing']/li/input[@alt=
=3D'Duplicate record']" description=3D"Duplicate first 10 records"/&gt;</p>
<p>&lt;verifyText text=3D"Total records: 110" /&gt;</p>
<p><br></p>
<p>But nothing happens: there is one warning &nbsp;"window.alert("Please se=
lect rows") no alert handler installed". &nbsp;</p>
<p>BTW no scence in presence of &lt;expectDialog&gt; step in the testsuite.=
</p>
<p><br></p>
<p>So, what should I do/install/remove/modify to force WebTest to click on =
such dialogs?</p>
<p><br></p>
<p>WebTest 2.5 was used.</p>
<p><br></p>
<p>Thanks in advance, and sorry for disturbing</p>
<p><br></p>
<p><span class=3Drvts7>--&nbsp;</span></p>
<p><span class=3Drvts7>Best regards,</span></p>
<p><span class=3Drvts7>&nbsp;Andrew.</span>&nbsp;</p>
<p><span class=3Drvts7>Texuna Tech &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><a class=3Drvts8 h=
ref=3D"mailto:andrew.sickorsky@texunatech.com">mailto:andrew.sickorsky@texu=
natech.com</a></p>
<p><br></p>
<p><br></p>
<p>=3D=3D=3D8&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DEnd of original message t=
ext=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><span class=3Drvts7>--&nbsp;</span></p>
<p><span class=3Drvts7>Best regards,</span></p>
<p><span class=3Drvts7>&nbsp;Andrew &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbs=
p; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><a class=
=3Drvts8 href=3D"mailto:andrew.sickorsky@texunatech.com">mailto:andrew.sick=
orsky@texunatech.com</a></p>

</body></html>
------------3210F782D27CD89--

------------B6F6FEEEC7328
Content-Type: message/rfc822;
 name="1.eml"
Content-Disposition: attachment;
 filename="1.eml"

Date: Wed, 30 May 2007 12:49:29 +0400
From: Andrew Sickorsky <andrew.sickorsky@texunatech.com>
X-Mailer: The Bat! (v3.95.6) Professional
Reply-To: Andrew Sickorsky <andrew.sickorsky@texunatech.com>
Organization: Texuna Technologies
X-Priority: 3 (Normal)
Message-ID: <352452645.20070530124929@texunatech.com>
To: webtest@lists.canoo.com
Subject: no alert/confirm handler installed warning after attempt to pass through java-script dialogs
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="----------53DA168E5FD5AB"

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

Hello All!

I'm trying to use WebTest with pop-up alert/confirm messages via ExpectDial=
og:

<expectDialog description=3D"Expected dialog for record duplicating" dialog=
Type=3D"confirm"/>
<clickElement xpath=3D"//ul[@class=3D'dataProcessing']/li/input[@alt=3D'Dup=
licate record']" description=3D"Duplicate first 10 records"/>
<verifyText text=3D"Total records: 110" />

But nothing happens: there is one warning  "window.alert("Please select row=
s") no alert handler installed".=20
BTW no scence in presence of <expectDialog> step in the testsuite.

So, what should I do/install/remove/modify to force WebTest to click on suc=
h dialogs?

WebTest 2.5 was used.

Thanks in advance, and sorry for disturbing

--=20
Best regards,
 Andrew.
Texuna Tech                          mailto:andrew.sickorsky@texunatech.com
------------53DA168E5FD5AB
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>I'm trying to use WebTest with pop-up alert/confirm messages via ExpectD=
ialog:</p>
<p><br></p>
<p>&lt;expectDialog description=3D"Expected dialog for record duplicating" =
dialogType=3D"confirm"/&gt;</p>
<p>&lt;clickElement xpath=3D"//ul[@class=3D'dataProcessing']/li/input[@alt=
=3D'Duplicate record']" description=3D"Duplicate first 10 records"/&gt;</p>
<p>&lt;verifyText text=3D"Total records: 110" /&gt;</p>
<p>
<br>But nothing happens: there is one warning &nbsp;"window.alert("Please s=
elect rows") no alert handler installed".&nbsp;
<br>BTW no scence in presence of &lt;expectDialog&gt; step in the testsuite=
.</p>
<p><br></p>
<p>So, what should I do/install/remove/modify to force WebTest to click on =
such dialogs?</p>
<p><br></p>
<p>WebTest 2.5 was used.</p>
<p><br></p>
<p>Thanks in advance, and sorry for disturbing</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.</span>
<br><span class=3Drvts6>Texuna Tech &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>
------------53DA168E5FD5AB--
------------B6F6FEEEC7328--