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
Object repositories types, which and when to use?
How to add verification steps to tests?
i have asked earlier only one question how to test web application using QTp plz send me the answer quickly
Why bpt?
What is the Difference between test object and run time object?
Can the user toggle between using Local OR and shared OR for the same action?
I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible
What are the different types of checkpoints?
How will you check a web application for broken links using qtp?
How to create runtime property for an object?
Does quicktest professional is unicode compatible?
Analyzing the checpoint results?
Explain how Does Run time data (Parameterization) is handled in QTP?
What are the types of object repository?
how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)