Hi Miriam,

what error is WebTest reporing?

cheers

Lee

2009/5/20 Naegreth <[email protected]>

> Hi,
>
> I am new to Webtest and I have a problem testing a jboss based web-app
> that uses jsf.
>
> I have a button-like input element with an onclick event to get to the
> next page:
>
> <input id="_idJsp26:_idJsp55" type="image" src="<path>"
>
> onclick="A4J.AJAX.Submit('_viewRoot','_idJsp26',event,{'parameters':{'_idJsp26:_idJsp55':'_idJsp26:_idJsp55'}
> ,'actionUrl':'<path>.jsf?javax.portlet.faces.DirectLink=true'} );return
> false;" name="_idJsp26:_idJsp55"/>
>
> Everything worked fine so far except for this one.
> I tried to use clickElement with the htmlId and xPath as
>
> <clickElement xPath="//*...@id='_idJsp26:_idJsp55']"/>
> and
> <clickElement htmlId="_idJsp26:_idJsp55"/>
>
> I have no problems calling standart types for input elements (e.g. text)
> with similar IDs, so I assume it's not up to this.
>
> I already had a look at the list's archives and found a similar problem
> (http://lists.canoo.com/pipermail/webtest/2008q2/010653.html ) but I'm
> afraid I don't really get the point...
>
> Can someone please give me a hint what to use or to try next?
>
> Kind regards,
> Miriam
>
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
>

Reply via email to