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 find Total no of Text Fields in the Page..Anybody
please answer me..Thanks in Advance

Answers were Sorted based on User's Feedback



How to find Total no of Text Fields in the Page..Anybody please answer me..Thanks in Advance..

Answer / babu

Hi,

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

by using this, you can able to get the number of text
fields in the page.

Is This Answer Correct ?    11 Yes 1 No

How to find Total no of Text Fields in the Page..Anybody please answer me..Thanks in Advance..

Answer / yogi

set a = description.create
a("micclass").value = "webedit"
set ch_obj = browser("").page("").childobjects(a)
msgbox ch_obj.count

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More QTP Interview Questions

What is Test Fusion Report in QTP?

0 Answers  


How to integrate the qualitycenter with qtp

0 Answers   Wipro,


What is test object?

0 Answers  


Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?

0 Answers  


In the website, the protocol has been changed http: to https what you will do? Tell me your approach?

0 Answers  


When you are running a batch test of 5 scripts and in 2nd script appln crashed, what hpns then?

4 Answers   BirlaSoft,


what is the script for keyword driven framework in real time?plz its urgent

1 Answers   Accenture, CTS,


How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks

0 Answers  


Explain the concept of object repository & how QTP recognises objects?

1 Answers  


What are main panes available in qtp test browser?

0 Answers  


How to create a run time propertyfor an object?

3 Answers   IBM,


What is the difference between "call to action" and "call an existing action"

9 Answers   Accenture, Yana Software,


Categories