Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

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

2858


diff between qtp versions from 8.5

1964


How to handle the exceptions using recovery secnario manager in quicktest professional?

1070


please give me the code for doing retesting of gmail login page using functions so the function has to give the value

2003


How to use output values in qtp ?

946


Is QTP supports Unix. If yes, then how the test automation is done?

2122


wht type of User defined functions or Java Releated functions Do we write in VB scripting

1736


Explain the features of quick test pro(qtp)?

974


What are the types of object repository?

1023


How many types of recording facility are available in quicktest professional?

1045


How to modify object property in qtp ?

955


Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)

1804


How many ways is to parameterize the value?

1078


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

6736


What VBScript operators, functions, and statements do you use in QuickTest Professional?

2602