Search code examples
testingqunit

Testing checkbox click


I have started testing my UI using qUnit, so I need to simulate some user interaction. Is it possible to "simulate" a user clicking a checkbox using javascript ?


Solution

  • You can look at this:

    Simulate a buttonclick via javascript

    It is the other way arround, so i'm not sure if it works on checkboxes too.