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 / babu

Set oDesc = Description.Create()
oDesc("micclass").Value = "Webedit"
Set Lists=Browser("Login").Page("Application").ChildObjects
(oDesc)
NumberOfLists = Lists.Count()
msgbox NumberOfLists

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

Correct me if i am wrong.

Is This Answer Correct ?    25 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to call a test from another test?

1431


How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?

1303


What is quicktest professional?

1098


What is QTP’s model for test creation?

1205


How to use output values in qtp ?

1061


Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?

3946


I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian

2091


What is quick test pro? What is a quick test professional?

1168


What are the data types in qtp?

1168


Explain the qtp test phases.

1086


What are the things(properties, and other details) will be recorded while recording an object using normal recording?

2024


What is quick test pro?

1100


How do you perform Regreession Testing?

1997


explain abt dyanamic changing object with example?

2391


Give me some real time point of way where exactly we can conduct audits?

1949