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
If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?
What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?
what is review
How the exception handling can be done using quicktest professional?
An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?
How many ways we can parameterize data in quicktest professional?
How to remove associated function library?
How does qtp identify gui object?
what is the advantages and disadvantages of using functions instead of re usable actions
How to integrate the qualitycenter with qtp
How will internal and external links be validated and updated? how often?
What are the types of object repositories? Which one is you using?
how to do the batch testing in test director using manual testing procedure?
How to use output values in qtp ?
Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain