Simply Business homepage
  • Business insurance

    • Business Insurance FAQs

    Business insurance covers

  • Support
  • Claims
  • Sign In
Call Us0333 0146 683
Chat With UsChat support 24/7
Tech blog

Selenium Clicking an ExtJS Checkbox

1-minute read

Edward Woodcock

Edward Woodcock

11 January 2012

Share on FacebookShare on TwitterShare on LinkedIn

In this post we continue to discuss selenium testing for a Ext JS application.

Mouse click

Last week, we were writing selenium tests for an Ext JS application when we experienced odd behaviour in which calls to click a checkbox were being totally ignored. Passing either the id of the checkbox or the entire XPath to the checkbox into the selenium click() method made no difference and had no effect.

Having tried pretty much everything else, we gave using the selenium clickAt() method a shot instead. The clickAt() method requires passing in relative co-ordinates indicating whereabouts on the object the mouse should click, so we started with "0,0".

We're still not sure of the reasons behind it, but this worked. Using clickAt("checkboxId", "0,0"), the checkbox was now being clicked by selenium.

If you're having trouble getting Selenium to click a checkbox on your Ext JS application - try the clickAt() method instead of click().

Ready to start your career at Simply Business?

Want to know more about what it's like to work in tech at Simply Business? Read about our approach to tech, then check out our current vacancies.

Find out more

We create this content for general information purposes and it should not be taken as advice. Always take professional advice. Read our full disclaimer

Find this article useful? Spread the word.

Share on Facebook
Share on Twitter
Share on LinkedIn

Keep up to date with Simply Business. Subscribe to our monthly newsletter and follow us on social media.

Subscribe to our newsletter


Public liability insuranceBusiness insuranceProfessional indemnity insuranceEmployers’ liability insuranceLandlord insuranceTradesman insuranceSelf-employed insuranceRestaurant insuranceVan insuranceInsurers


6th Floor99 Gresham StreetLondonEC2V 7NG

Northampton 900900 Pavilion DriveNorthamptonNN4 7RG

© Copyright 2024 Simply Business. All Rights Reserved. Simply Business is a trading name of Xbridge Limited which is authorised and regulated by the Financial Conduct Authority (Financial Services Registration No: 313348). Xbridge Limited (No: 3967717) has its registered office at 6th Floor, 99 Gresham Street, London, EC2V 7NG.