File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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();
I agree. Here's the link:
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-2014