[Webtest] how to click on an image w/o a name?

Richard Raue webtest@lists.canoo.com
Thu, 4 Sep 2003 10:38:56 +0200


Hi,

I need to click on an image that has no name-attribute specified.

source code of the page to test:

    document.write("<input type='image' name=''
src='/is-bin/intershop.static/WFS/PK/
    /de_DE/images/bt_weiter_mag.gif' border='0'
onClick='submitForm_NextSelection()'>");
_____________________________________________________________________

settings in the xml-testfile:

    <clickbutton stepid="Click Weiter" name=""
label="/is-bin/intershop.static/WFS/PK//de_DE/images/bt_weiter_mag.gif">
       <form name="formA"/>
       <index value="0"/>
    </clickbutton>
_____________________________________________________________________

This version doesn't work, because the label-value isn't correct. But what
else is there to identify the link-image?

thx for help,
Richard

PS: I'm a newbie, so please excuse potential nonconformities!