[Webtest] Testing Flash?

Carsten Seibert webtest@lists.canoo.com
Wed, 1 May 2002 14:51:48 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0022_01C1F11F.CAAC1540
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

A thing that could be verified is the correct integration of the flash app
into the HTML page using the verifyxpath test step. E.g. it can verify that
the correct flash is referenced.

<verifyxpath stepid="check flash embedding"
    xpath="/html/body/object/param[@value='myflash.swf']">

The testing of the flash itself is a unit testing issue as Mittie pointed
out and not in the scope of WebTest. But the integration of the flash into
the page is a WebTest issue and could be verified with something like the
statement above. The xpath expression used is a very simple one. You could
have much more complicated once.

Ciao,
Carsten
Carsten Seibert
seiberTEC GmbH Switzerland
mailto:seibert@seibertec.ch  / phone: +41 79 636 4317


  -----Original Message-----
  From: Dierk König [mailto:Dierk.Koenig@canoo.com]
  Sent: Montag, 29. April 2002 16:08
  To: webtest@gate.canoo.com
  Subject: RE: [Webtest] Testing Flash?


  Hi Mike,

  Is there any way that Canoo can be used to test Macromedia Flash
Applications?  Or, is there anyway to extend Canoo to support this?
     in short: no.



    Flash Applications are a little like Applets. They break the
request-response model that WebTest relies on. I'm not sure whether
Macromedia offers a JFCUnit-like testing framework. This may be a solution
for you...



    cheers

    Mittie


------=_NextPart_000_0022_01C1F11F.CAAC1540
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:o =3D=20
"urn:schemas-microsoft-com:office:office" xmlns:w =3D=20
"urn:schemas-microsoft-com:office:word"><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3DWord.Document name=3DProgId>
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<META content=3D"Microsoft Word 10" name=3DOriginator><LINK=20
href=3D"cid:filelist.xml@01C1EF4E.DCB76AA0" rel=3DFile-List><!--[if gte =
mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in =
1.25in; mso-header-margin: .5in; mso-footer-margin: .5in; =
mso-paper-source: 0; }
P.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
LI.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
DIV.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
A:link {
	COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlink {
	COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
A:visited {
	COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlinkFollowed {
	COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.EmailStyle17 {
	COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: =
personal-compose; mso-style-noshow: yes; mso-ansi-font-size: 10.0pt; =
mso-bidi-font-size: 10.0pt; mso-ascii-font-family: Arial; =
mso-hansi-font-family: Arial; mso-bidi-font-family: Arial
}
SPAN.SpellE {
	mso-style-name: ""; mso-spl-e: yes
}
DIV.Section1 {
	page: Section1
}
</STYLE>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */=20
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>
<![endif]--></HEAD>
<BODY lang=3DEN-US style=3D"tab-interval: .5in" vLink=3Dpurple =
link=3Dblue>
<DIV><SPAN class=3D393314112-01052002><FONT face=3DArial color=3D#0000ff =
size=3D2>A=20
thing that could be&nbsp;verified is the correct integration of the =
flash=20
app&nbsp;into the HTML page using the verifyxpath test step. E.g. it can =
verify=20
that the correct flash is referenced.</FONT></SPAN></DIV>
<DIV><SPAN class=3D393314112-01052002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D393314112-01052002><FONT face=3DArial color=3D#0000ff =

size=3D2>&lt;verifyxpath </FONT></SPAN><SPAN =
class=3D393314112-01052002><FONT=20
face=3DArial color=3D#0000ff size=3D2>stepid=3D"check flash=20
embedding"</FONT></SPAN></DIV>
<DIV><SPAN class=3D393314112-01052002>&nbsp;&nbsp;&nbsp; <FONT =
face=3DArial=20
color=3D#0000ff=20
size=3D2>xpath=3D"/html/body/object/param[@value=3D'myflash.swf']"&gt;</F=
ONT></SPAN></DIV>
<DIV><SPAN class=3D393314112-01052002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D393314112-01052002><FONT face=3DArial color=3D#0000ff =
size=3D2>The=20
testing of the flash itself is a unit testing issue as Mittie pointed =
out and=20
not in the scope of WebTest. But the integration of the flash into the =
page is a=20
WebTest issue and could be verified with something like the statement =
above. The=20
xpath expression used is a very simple one. You could have much more =
complicated=20
once.</FONT></SPAN></DIV>
<DIV><SPAN class=3D393314112-01052002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D393314112-01052002><FONT face=3DArial color=3D#0000ff =

size=3D2>Ciao,</FONT></SPAN></DIV>
<DIV><SPAN class=3D393314112-01052002><FONT face=3DArial color=3D#0000ff =

size=3D2>Carsten</FONT></SPAN></DIV>
<P><FONT size=3D2>Carsten Seibert<BR>seiberTEC GmbH Switzerland<BR><A=20
href=3D"mailto:seibert@seibertec.ch">mailto:seibert@seibertec.ch</A>&nbsp=
; /=20
phone: +41 79 636 4317<BR></FONT></P>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> Dierk K=F6nig=20
  [mailto:Dierk.Koenig@canoo.com]<BR><B>Sent:</B> Montag, 29. April 2002 =

  16:08<BR><B>To:</B> webtest@gate.canoo.com<BR><B>Subject:</B> RE: =
[Webtest]=20
  Testing Flash?<BR><BR></FONT></DIV>
  <DIV><SPAN class=3D720375313-29042002><FONT color=3D#0000ff =
size=3D2>Hi=20
  Mike,</FONT></SPAN></DIV>
  <DIV><SPAN class=3D720375313-29042002><FONT color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><FONT size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Is there=20
  any way that <SPAN class=3DSpellE>Canoo</SPAN> can be used to test =
Macromedia=20
  Flash Applications?<SPAN style=3D"mso-spacerun: yes">&nbsp; </SPAN>Or, =
is there=20
  anyway to extend <SPAN class=3DSpellE>Canoo</SPAN> to support=20
  this?<o:p></o:p></SPAN></FONT></DIV>
  <BLOCKQUOTE dir=3Dltr=20
  style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
    <DIV class=3DSection1>
    <P class=3DMsoNormal><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p><SPAN=20
    class=3D720375313-29042002>&nbsp;in short: =
no.</SPAN></o:p></SPAN></P>
    <P class=3DMsoNormal><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p><SPAN=20
    class=3D720375313-29042002></SPAN></o:p></SPAN>&nbsp;</P>
    <P class=3DMsoNormal><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p><SPAN=20
    class=3D720375313-29042002>Flash Applications are a little like =
Applets. They=20
    break the request-response model that WebTest relies on. I'm not=20
    sure&nbsp;whether Macromedia offers a JFCUnit-like testing =
framework. This=20
    may be a solution for you...</SPAN></o:p></SPAN></P>
    <P class=3DMsoNormal><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p><SPAN=20
    class=3D720375313-29042002></SPAN></o:p></SPAN>&nbsp;</P>
    <P class=3DMsoNormal><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p><SPAN=20
    class=3D720375313-29042002>cheers</SPAN></o:p></SPAN></P>
    <P class=3DMsoNormal><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p><SPAN=20
    =
class=3D720375313-29042002>Mittie</SPAN></o:p></SPAN></P></DIV></BLOCKQUO=
TE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0022_01C1F11F.CAAC1540--