A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Selenium Web Driver
Joined: Aug 14, 2011
Oct 24, 2013 23:20:22
I'm using selenium for automating my web screens where I have many check boxes and I need to count the checkboxes totally present in the screen.
I would request any of your help on how it can be done.
Joined: Oct 17, 2013
Nov 24, 2013 23:57:51
int num_chkboxes= driver.findElements(By.xpath("//path/to/checkboxes/*")).size();
It is sorta covered in the
JavaRanch Style Guide
subject: Selenium Web Driver
JSF validations capture using Selenium
inheritance - web page objects relationships
New to automation tesing
Gui Test running in Hudson
Writing Java code that can interact with a webpage
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015