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

-->IF two TextBOxes are there in a "Form". -->A table contains some records which contains usernames & password.. -->What is the script we need to write using Descriptive programming concept...in QTP (simply DATA DRIVEN TEST SCRIPT OF QTP)?

3 Answers   CTS,


How will you find the current time of the remote machine using QTP script?

0 Answers  


what are SetToProperty, SetROProperty,GetToproperty scripting?

2 Answers  


How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one

0 Answers   Livetek,


Explain the difference between call to action and copy action?

0 Answers  


What is the D/B Test managemet tool and bug trcking tool? Ans send to pbr.qtp@gmail.com

1 Answers   Cap Gemini,


Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..

0 Answers  


How u will open the build automatically in QTP except using Systemutil.run command

6 Answers  


What are the different types of Database checkpoints in QTP? when they are used?

2 Answers  


Have you used TD?

2 Answers  


How comfortable are you in VB scripting?

2 Answers  


what will be there in keyword view and expert view?

2 Answers  


Categories