[Webtest] clickButton not being invoked correctly

Marc Guillemot Marc Guillemot <mguillemot@yahoo.fr>
Wed, 13 Dec 2006 13:54:48 +0100


is js involved?
What do you get on the console for the execution of this step (setting 
log level to debug)?


Mark McKeown wrote:
> Hi,
> I am encountering an issue when using canoo webtest to click a button on 
> a page. When I click the button manually I navigate to the correct page 
> okay but when I instruct webtest to click the button it seems that I do 
> not navigate to the desired page (I remain on the same page). I have 
> checked my HTML and it seems okay.
> Does anyone have any suggestions about why there might be a discrepancy 
> between what happens in a manaul test and a CANOO test?
> The fragment of webtest I am using to click the button is:
> <clickButton description="Click 'add new' button in 'Summary' page"
>         xpath="//div[@id='formTable']/form/fieldset[2]/input[1]"/>
> Thanks in advance,
> Mark
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest