hi

how can count a text , image , button etc on a paticular page with watir.


plzzz help me

thanks & regards

atul

hi

how can count a text , image , button etc on a paticular page with watir.


plzzz help me

thanks & regards

atul

ie.form(:index, 1).images.count

Can't test it don't have a Windows machine handy

u can also use form.elements.length in your script to get the total no of elements on ur page provided all elements must be in same form.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.