How to count no of edit boxes on the page?

Answer Posted / guru

'Count the Number of Edit box

Set Desc = Description.Create()
Desc("micclass").Value = "WebEdit"
Set EditBoxes = Browser("").Page("").ChildObjects(Desc)
MsgBox "Number of Edits: " & EditBoxes.Count

By using above code you can find the count for no of
edit boxes in a page.

Correct me if i am wrong.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Test Fusion Report in QTP?

886


How to get the particular property value?

806


Hi I know two types of testing processes. 1. Reaquirments stage,test design,code review's, Design review's, Test Plan, Test Cases design, test execution, Defect Reporting and tracking, UAT, Signoff. 2.Test Initiation , Test Plan, Test Design, Execution,Bug tracking, UAT, Sign off.

1606


please post the interview questions for QA position in FACTSET

4198


What is business process testing(bpt) in qtp?

907


hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.

2126


How to test fly out menu in qtp?

716


What is the use of ordinal identifier in qtp?

783


Hi , I am facing issue QTP 10.0 with oracle ERP 11i .When QTP opens,click sub links on ERP ,FORM is not opening getting unexpected Internet explorer error message with send or don't send report.So unable to work with forms using QTP.

3633


Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?

1742


Explain about the test fusion report of quicktest professional?

748


can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process

1506


What are the types of environment variables in qtp?

798


In qtp, explain what is crypt object

820


Define virtual object?

817