How to count bulk of text boxes in a webpage

Answers were Sorted based on User's Feedback



How to count bulk of text boxes in a webpage..

Answer / 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

How to count bulk of text boxes in a webpage..

Answer / shobhit

PLS EXPLAIN

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WinRunner Interview Questions

How to break infinite loop?

0 Answers  


What is synchronization? what is the purpose of wait() function? what is the diff. between wait() and other synchronization functions in winrunner?

8 Answers   Infeneon Technologies,


What is the difference between writing a function and writing a script?

0 Answers  


How to check the background colour of the screen in WR?

0 Answers  


Tell me the function to move to the next row in a data table?

2 Answers   Accenture, Landscape Technologies,


two file is there how will compate it by useing qtp.

0 Answers  


can we run compiled-mod function in a compiled module function?if yes then fwd sample script?

1 Answers  


Tell me the usecase format r u using in ur company?

1 Answers   MBT,


what is the default mode of executing TSL Script

4 Answers  


How do you identify which files are loaded in the gui map?

0 Answers  


What is Global GUI Map?

3 Answers   Tomax,


For what type of applications Rapid Test Script Wizard available?

3 Answers   Synergy,


Categories