[Webtest] No buttons visible on page with JavaScript enabled

Oliver Rossbach rossbach@rosconsult.de
Tue, 26 Aug 2008 18:04:41 +0200


Hi,

I am using Webtest release R_1714 on Windows XP Professional SP3
(jdk1.6.0_04).

If I disable JavaScript support (<enableJavaScript enable="false"/>)
my testcase is succesful.

After enabling JavaScript my testcase fails.
No button can be found on the html page although it is available in
the source code of the resulting page:

task:
<clickButton htmlId="signup_button1" description="go to registration
page step 1"/>

page html source code:
<input type="image" id="signup_button1" class="imgbutton"
src="/checkout/button_setoneupnow.gif" />

webtest-report:
********* SNIP **********
Message

No button found
Location

D:\dev\svn\suite6_trunk\webtest\definitions\goToRegistrationPage.xml
(line: 16)
at
D:\dev\svn\suite6_trunk\webtest\tests\registration\01_registerUserDE.xml
(line: 15)
at D:\dev\svn\suite6_trunk\webtest\includes\config.xml (line: 14)
Details
available buttons	


********* SNAP **********

Any help would be appreciated.

Thanks and regards

-- 
Oliver Rossbach