- divya_agsrdkProfessional
- Posts : 93
Join date : 2013-01-17
To count the number of objects present on the page..
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?
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?
- adityacProfessional
- Posts : 101
Join date : 2013-01-17
Re: To count the number of objects present on the page..
Wed Feb 27, 2013 6:01 pm
here we consider a text field/check box etc as object
- divya_agsrdkProfessional
- Posts : 93
Join date : 2013-01-17
Re: To count the number of objects present on the page..
Fri Mar 01, 2013 9:56 am
Any solution for it by recording?
- kashyap_guruActive particpant
- Posts : 24
Join date : 2013-10-16
Age : 37
Location : India
Re: To count the number of objects present on the page..
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
You can use code something like below.
$test = $this->getXpathCount("//input/@type");
storeXpathCount //input/@type totalcount
Permissions in this forum:
You cannot reply to topics in this forum