Are you sure to be on the right page? You can try following to get the code of the current page on the console:
<groovy> println step.context.currentResponse.asXml() </groovy> Cheers, Marc. -- Blog: http://mguillem.wordpress.com Oliver Rossbach wrote: >> Hi, > > no, the buttons are pure html-buttons and are not manipulated via > JavaScript. > There is also no redirection via JavaScript to another page. > > Cheers > > Oliver > >> --__--__-- >> >> Message: 3 >> Date: Fri, 29 Aug 2008 09:59:13 +0200 >> From: Marc Guillemot <[EMAIL PROTECTED]> >> To: [email protected] >> Subject: Re: [Webtest] No buttons visible on page with JavaScript enabled >> Reply-To: [email protected] >> Reply-To: Marc Guillemot <[EMAIL PROTECTED]> >> >> Hi, >> >> does some js code disable/remove the button or redirect to an other page? >> >> Cheers, >> Marc. >> -- >> Blog: http://mguillem.wordpress.com >> >> >> Oliver Rossbach wrote: >>> 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 >>> > > _______________________________________________ > WebTest mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest > _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

