Hi Hoang,

can you provide the exception you get?

What about wrapping your js code in a function and calling this function
in the href?

Marc.

Nguyen, Hoang wrote:
> Hello Everyone,
> 
>  
> 
> With the following JavaScript:
> 
>  
> 
> <a href="javascript:document.assignTokenForm.submit()"
> 
> id="assignToken" class="bigLink">Assign Token</a>
> 
>  
> 
> The following Canoo step works just fine.
> 
>  
> 
> <clickLink stepid="click the Assign Token link"
> 
>            save="${output.assignToken}/begin-"
> 
>            htmlid="assignToken"/>
> 
>  
> 
>  
> 
> After changing the JavaScript to:
> 
>  
> 
> <a
> href="javascript:document.assignTokenForm.onsubmit();document.assignTokenForm.submit()"
> 
>  id="assignToken" class="bigLink">Assign Token</a>
> 
>  
> 
> That same Canoo step does not work any more.  In fact, clicking on the
> link would fail to advance to the next page.
> 
>  
> 
> How can I get around with that?
> 
>  
> 
> Thank you very much!
> 
>  
> 
> -hoang
> 
>  
> 

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to