Share
Go down
divya_agsrdk
Professional
Professional
Posts : 93
Join date : 2013-01-17

To count the number of objects present on the page..

on Wed Feb 27, 2013 5:55 pm
Hi,,

Using selenium IDE, how it is possible to count the number of objects present on the page... here wt is object? wt all it can b? give ex...

Any solution?
adityac
Professional
Professional
Posts : 101
Join date : 2013-01-17

Re: To count the number of objects present on the page..

on Wed Feb 27, 2013 6:01 pm
here we consider a text field/check box etc as object
divya_agsrdk
Professional
Professional
Posts : 93
Join date : 2013-01-17

Re: To count the number of objects present on the page..

on Fri Mar 01, 2013 9:56 am
Any solution for it by recording?
avatar
kashyap_guru
Active particpant
Active particpant
Posts : 24
Join date : 2013-10-16
Age : 31
Location : India

Re: To count the number of objects present on the page..

on Wed Oct 16, 2013 6:59 pm
Hi Divya,

You can use code something like below.

$test = $this->getXpathCount("//input/@type");

storeXpathCount   //input/@type  totalcount
Sponsored content

Re: To count the number of objects present on the page..

Back to top
Permissions in this forum:
You cannot reply to topics in this forum