Please forget my question...
I'm really sorry, the problem was only on my side!
I'll try to be less spontaneous the next time..
Delphine
Delphine Denis a écrit :
> Dear all,
> I have a problem with clickElement on span tag elements, which seams
> to have no effect.
>
> The code I try to test is the following:
>
> <ul id="actionsProduct">
> <li><span id="lnk_productSendToTrash"
> onclick="javascript:processMassiveAction('corbeille.to?searchIndex=1&searchFirstResultIndex=0&searchLastResultIndex=40&actionType=putIntrash&ids=');"><img
> src="TS/images/picto-envoyer-corbeille.gif" alt="" />Mettre à la
> corbeille</span></li>
> ...
>
> If I run: <clickLink description="Click link: Corbeille"
> htmlId="lnk_productSendToTrash">, I have the error message: Selected
> element is a span tag and not a link
> I changed it for: <clickElement description="Click link: Corbeille"
> htmlId="lnk_productSendToTrash">
> With that call, there is no error returned, but nothing happens and I
> stay on the same html page.
>
> Note that before (in an earlier versoin of the product I'm testing),
> the code was:
> div class="actions-produits">
> <a href="#" id="lnk_productSendToTrash"
> onclick="javascript:processMassiveAction('corbeille.to?searchIndex=1&searchFirstResultIndex=0&searchLastResultIndex=40&actionType=putIntrash&ids=',
> 'listProducts');"><img src="TS/images/picto-envoyer-corbeille.gif" alt=""
> title="">Mettre à la corbeille</a>
> ...
>
> and it worked with the clickLink.
>
> Are you aware about any problem with clickElementon span tag?
>
> Thanks!
> Delphine Denis
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest