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

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

1633


The title of the window consists of date and time.What is the regular expression to recognize the window as unique?

1485


Name the three modes of running the scripts?

562


Explain the winrunner testing process?

631


How to force wr to learn the sub-items on a menu?

552






hi this is uday iam trying for testing job with 3+ yrs of exp if u have qtp faqs materil plz send me thanks in advance

1598


what is risk?

2094


How can withwin runner to make single scripts which supports multiple languages?

616


can i get apex technologies interview questions in testing

1842


What is the disadvantage of loading the GUI maps through start up scripts?

603


What information is contained in the checklist file and in which file expected results are stored?

688


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

1805


What is tsl? What 4gl is it similar too?

763


When do you feel you need to modify the logical name?

645


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

600