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
When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti
diff between qtp versions from 8.5
How to handle the exceptions using recovery secnario manager in quicktest professional?
please give me the code for doing retesting of gmail login page using functions so the function has to give the value
How to use output values in qtp ?
Is QTP supports Unix. If yes, then how the test automation is done?
wht type of User defined functions or Java Releated functions Do we write in VB scripting
Explain the features of quick test pro(qtp)?
What are the types of object repository?
How many types of recording facility are available in quicktest professional?
How to modify object property in qtp ?
Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)
How many ways is to parameterize the value?
How can I find out the cursor position through QTP suppose I am keep tabbing(Pressing the tab key continuously) and stoped at a position Now I want to find out where the cursor position is
What VBScript operators, functions, and statements do you use in QuickTest Professional?