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

In my application I was supposed to test two columns.The first column1 belongs to one module and the other column2 belongs to other module.The content in both the columns is same.I supposed to check whether the data present in the column1 is same as the one in column2. Each column contains number of rows.So checking each row manually is diificult.Is there any option available in WinRunner or QTP to check the column data.These two columns are available in Data Base Tables. One way is that I can just number of rows in each column so that I can get rows count of both the columns,but apart from that I was supposed to check whether the data is also same in both the tables. Can anybody suggest me how I can go about this.

1 Answers  


What is the use of gui map and what happens when the gui map file get loaded?

0 Answers  


What is keyword driven testing? what is the difference between severity and priority?

2 Answers   Mind Tree,


Which is the default Record Method for Static Text Object?

8 Answers   Accenture,


can anybody tell me what is project architecture?

0 Answers  






How do handle error/exceptions in winrunner.

2 Answers   ADITI,


What is contained in the test scripts?

0 Answers  


You declared a constant in a main test..Later you want tried to reinitialize that constant..what will happened? i.e const i=10; -- --- i=20; what will happen?

2 Answers   Accenture,


Testing work start at once

1 Answers   Manhattan,


In general, how do you see automation fitting into the overall process of testing?

1 Answers  


What are the different modes of recording in winrunner?

0 Answers  


how scripting language & programming language are different?

1 Answers   EDS,


Categories