2009/10/26 Jonathan Share <[email protected]>:
> Hi,
>
> In the application that I'm testing I have a checkbox with an onclick
> attribute defined. If I model the checkbox as a CheckBox then I have
> no click method available and calling the check method does not fire
> the onclick event needed to run the javascript. If I model the
> checkbox as a UrlLink instead and call click on that, the checkbox
> becomes checked as desired and the onclicked handler runs as expected.
>
> Is it possible to make the CheckBox.check() method trigger click
> events? and/or is there any reason why UiObject doesn't have the click
> method? It's possible to register event handlers on any html elements.


Sorry, I just read
http://code.google.com/p/aost/wiki/TopTenTelluriumFeatures#Javascript_Events
and will give that a try. No idea why I hadn't spotted that before.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to