How to count bulk of text boxes in a webpage

Answer Posted / vamcit

'To calculate no. of Text/Edit Boxes

Browser("Browser").Navigate "http://www.rediff.com/"
Browser("Welcome to rediff.com").Page("Welcome to
rediff.com").Sync
Set webtext=Description.Create()
webtext("micclass").Value="WebEdit"
x=Browser("Browser").Page("Welcome to
Rediff.com").ChildObjects(webtext).count
msgbox x

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How enviornment veriable can be included into my script. I want to include some information into my Excel file using Test run in WR. like User name of system? waht is function to be used? Please clarify.....

1756


Explain the synchronization points?

585


can i get apex technologies interview questions in testing

1836


What is boundary test?

649


Are there any suitable free tools to conduct performance test on a php web application?Manual or automation which is preferable for such kind of application? please answer ASAP

1801






When it is appropriate to change physical description?

642


What is the purpose of a gui spy?

704


Write test scripts on a scenario where you have to transfer data from one table to another.

1582


What are the Win Runner tools for functional testing?

2524


Which are default codes winrunner generates when we start the application?

1593


Welcome link is dynamic. How do you handle? What is your approach and write script.plz send answer

1631


How do you find out which is the start up file in winrunner?

598


What is the purpose of regexp_label property and regexp_msw_class property?

669


Explain the difference between gui map and gui map files?

601


What is test parameter

1592