[Webtest] checking that an element *doesn't* exist
Noam Aigerman
Noam Aigerman <noama@answers.com>
Fri, 13 Jun 2008 22:49:58 +0300
This is a multi-part message in MIME format.
--Boundary_(ID_BGulaPSuHSaaPJtKi0j5vg)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
How can I verify that some text (or other element) *doesn't* exist? Why
isn't there an option in verifyText, for instance, that marks if the
text should be found or not?
Thanks, Noam
--Boundary_(ID_BGulaPSuHSaaPJtKi0j5vg)
Content-type: text/html; charset=us-ascii
Content-transfer-encoding: 7BIT
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:595.45pt 841.7pt;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>How can I verify that some text (or other element) *<b><span
style='font-weight:bold'>doesn’t</span></b>* exist? Why isn’t there an option
in verifyText, for instance, that marks if the text should be found or not?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thanks, Noam<o:p></o:p></span></font></p>
</div>
</body>
</html>
--Boundary_(ID_BGulaPSuHSaaPJtKi0j5vg)--