[Webtest] Re: Need help

Michael Friend Michael Friend" <mlcf@gmx.de
Tue, 31 Oct 2006 21:05:30 +0100


Hi Marc.

I actually tried the <clickButton label=3D"Weiter"/> first, even every
combination I could think of including name=3D htmlid=3D etc.

Regretfully  none work. What I do get is a compile error to the sense=20

function ()....=20

I'll post the exact message tomorrow when I am in the office again.

Mike


-----Original Message-----
From: webtest-admin@lists.canoo.com =
[mailto:webtest-admin@lists.canoo.com]
On Behalf Of Marc Guillemot
Sent: Dienstag, 31. Oktober 2006 20:52
To: webtest@lists.canoo.com
Subject: [Webtest] Re: Need help

Hi Michael,

this mailing list is exactly the right place for such questions.

How does your WebTest script look like? What is with something like=20
<clickButton label=3D"Weiter"/>?

Marc.

Michael Friend wrote:
> Hallo,
>=20
> I hope I'm in the right place but I need help with webtest and a btton =
I
can't click.
>=20
> If I am not right here please ignor this mail.
>=20
>=20
> I have got the foloowing webpage that has at the end a button with
"Weiter" placed on it. It seems to be java, but my question is how can I
execute a click on it and continue to the next page.
>=20
> Look under <!-- Buttons --> I presume thie is where I should start. =
But am
not sure what to enter in my webtest script.
>=20
> I'll be greatfull for any help.
>=20
> This is the page ----------------------
>=20
> <?xml version=3D"1.0" encoding=3D"ISO-8859-1"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "/aaw/aaw.dtd">
> <html>
> <head>
>   <meta name=3D"orderItemType" content=3D"BRCA001_terminateISDN" />
>   <meta name=3D"pageID" content=3D"KSCTerminationGeneral" />
>   <meta name=3D"pageType" content=3D"edit" />
>   <meta name=3D"pageStatus" content=3D"ok" />
>   <title>K=FCndigung</title>
>   <script src=3D"/aaw/scripts/AAW-XXXOnline-tableless.js"
type=3D"text/javascript"></script>
>=20
>   <script src=3D"/aaw/scripts/functions.js" =
type=3D"text/javascript"></script>
>   <script src=3D"/aaw/scripts/AAW-XXXOnline-errors.js"
type=3D"text/javascript"></script>
>   <script src=3D"/aaw/scripts/style.js" =
type=3D"text/javascript"></script>
>   <link href=3D"/aaw/styles/skin.css" rel=3D"stylesheet" =
type=3D"text/css" />
>   <link href=3D"/aaw/styles/pksc.css" rel=3D"stylesheet" =
type=3D"text/css" />
>   <link href=3D"/aaw/styles/test.css" rel=3D"stylesheet" =
type=3D"text/css" />
> </head>
>=20
> <body>
>=20
> <!-- Input Area -->
> <div id=3D"pksc_container">
> <div id=3D"navigation" style=3D"width:200px;">&nbsp;</div>
> <div id=3D"content_area">
> <div id=3D"entry">
>=20
>   <form id=3D"aaw_main" method=3D"post" action=3D"ksc" =
onSubmit=3D"return
aaw_submitMainFormAllowedandBlock();">
>       <input name=3D"aaw_interactionID" type=3D"hidden"
value=3D"20061031100822595" />
>       <input name=3D"aaw_orderItemTypeRef" type=3D"hidden"
value=3D"BRCA001_terminateISDN" />
>       <input name=3D"aaw_pageID" type=3D"hidden" =
value=3D"KSCTerminationGeneral"
/>
>       <input name=3D"aaw_targetPageID" type=3D"hidden"
value=3D"KSCTerminationGeneral" />
>=20
> <!-- Header -->
>       <div id=3D"aaw_header" class=3D"head">K=FCndigung</div>
>=20
> <!-- Progress Indicator -->
>   <div id=3D"aaw_progress" class=3D"progress">
>     <span class=3D"mainflow  current ">
>       K=FCndigungsgrund
>     </span>
>     <span class=3D"subflow  disabled">
>       &gt;
>=20
>     </span>
>     <span class=3D"subflow  disabled ">
>       Hinweis
>     </span>
>     <span class=3D"subflow  disabled">
>       &gt;
>     </span>
>     <span class=3D"subflow  disabled ">
>       K=FCndigungsgrund im Detail
>     </span>
>=20
>     <span class=3D"subflow  disabled">
>       &gt;
>     </span>
>     <span class=3D"subflow  disabled ">
>       Hinweise
>     </span>
>     <span class=3D"subflow  disabled">
>       &gt;
>     </span>
>=20
>     <span class=3D"subflow  disabled ">
>       Abbruch
>     </span>
>     <span class=3D"mainflow  disabled">
>       &gt;
>     </span>
>     <span class=3D"mainflow  disabled ">
>       Eingabe pr=FCfen
>     </span>
>     <span class=3D"mainflow  disabled">
>=20
>       &gt;
>     </span>
>     <span class=3D"mainflow  disabled ">
>       Daten gesendet
>     </span>
>   </div>
>=20
> <!-- Start Inputarea -->
>     <div id=3D"aaw_inputarea" class=3D"box3">
>=20
> <!-- Messages -->
>=20
> <!-- Elements -->
>       <div id=3D"aaw_I_KSCTerminationOnlinePreamble" class=3D"element =
">
>           Wir m=F6chten wissen, aus welchem Grund Sie Ihr =
Vertragsverh=E4ltnis
mit XXX k=FCndigen m=F6chten. Deshalb bitten wir Sie, aus der unten =
aufgef=FChrten
Auswahl einen K=FCndigungsgrund auszuw=E4hlen. Damit helfen Sie uns, Ihr
Anliegen gezielt bearbeiten zu k=F6nnen.
>       </div>
> <div class=3D"spacer clear"></div><div class=3D"separator_s"></div>    =
  <div
id=3D"aaw_E_CancellationReason" class=3D"element  has_help ">
>         <div name=3D"aaw_help_icon" class=3D"help_icon"
onMouseover=3D"aaw_showHelp(this);" onMouseout=3D"aaw_hideHelp(this);"
id=3D"aaw_E_CancellationReason.helpicon"></div>
>         <div id=3D"aaw_E_CancellationReason.help" class=3D"help
inactive">Bitte geben Sie uns den Grund Ihrer K=FCndigung an.</div>
>         <div id=3D"aaw_E_CancellationReason.caption" =
class=3D"first_cnt">
>           K=FCndigungsgrund<span class=3D"required">*</span>        =
</div>
>=20
>         <div id=3D"aaw_E_CancellationReason.field" =
class=3D"second_cnt">
>                     <select name=3D"aaw_E_CancellationReason"
class=3D"input_xl"  =
onChange=3D"aaw_submitMainForm('KSCTerminationGeneral');">
>             <option value=3D"" selected=3D"selected">Bitte =
w=E4hlen</option>
>             <option value=3D"ABW" >Entscheidung f=FCr anderen
Anbieter</option>
>             <option value=3D"ANV" >Ich habe keinen Festnetzanschluss
mehr.</option>
>             <option value=3D"AZT" >XXX ist mir zu teuer.</option>
>             <option value=3D"ANE" >Mir liegt kein XXX-Auftrag =
vor.</option>
>=20
>             <option value=3D"DNA" >Konnte Dienste nicht in Anspruch
nehmen.</option>
>             <option value=3D"HOT" >Hotline</option>
>             <option value=3D"RNS" >Rechnung</option>
>             <option value=3D"SON" >Sonstiges</option>
>             <option value=3D"TLQ" >Ich bin mit der Leitungsqualit=E4t =
nicht
zufrieden.</option>
>             <option value=3D"UMZ" >Ich ziehe um.</option>
>=20
>             <option value=3D"WID" >Ich habe meinen Auftrag innerhalb =
der
Widerrufsfrist storniert.</option>
>           </select>
>=20
>         </div>
>       </div>
>       <div id=3D"aaw_D_ValidFrom" class=3D"element  has_help ">
>         <div name=3D"aaw_help_icon" class=3D"help_icon"
onMouseover=3D"aaw_showHelp(this);" onMouseout=3D"aaw_hideHelp(this);"
id=3D"aaw_D_ValidFrom.helpicon"></div>
>         <div id=3D"aaw_D_ValidFrom.help" class=3D"help inactive">Die =
K=FCndigung
wird mit Ber=FCcksichtigung der Mindestvertragslaufzeit Ihres Vertrages
durchgef=FChrt. Wenn Sie zu einem sp=E4teren Termin k=FCndigen =
m=F6chten, k=F6nnen Sie
hier einen alternativen Termin angeben.</div>
>=20
>         <div id=3D"aaw_D_ValidFrom.caption" class=3D"first_cnt">
>           K=FCndigung zum<span class=3D"required">*</span>        =
</div>
>         <div id=3D"aaw_D_ValidFrom.field" class=3D"second_cnt">
>                     <input name=3D"aaw_D_ValidFrom" type=3D"text" =
value=3D""
class=3D"input_xl"  onChange=3D"aaw_validateDate(this);"
onKeyup=3D"aaw_validateDate(this);" />
>=20
>         </div>
>       </div>
> <div class=3D"spacer clear"></div><div class=3D"separator_s"></div>    =
  <div
id=3D"aaw_I_KSCWeiterPostamble" class=3D"element ">
>=20
>           Gehen Sie auf &#8222;Weiter&#8220;, um Ihre Angaben zu =
pr=FCfen.
Erst danach werden die =C4nderungen gespeichert.
>       </div>
>=20
>     </div>
>=20
> <!-- Buttons -->
>    <div class=3D"button_area">
> <input type=3D"submit" name=3D"aaw_action_forward" value=3D"Weiter"
class=3D"button forward" onMouseOver=3D"this.className=3D'button_h';"
onMouseOut=3D"this.className=3D'button';"/>
>    </div>
>=20
>   </form>
>=20
> </div>
> </div>
> </div>
>=20
> </body>

_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest