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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of actions are there in quicktest professional?

491


This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?

1447


What is the difference between qtp and selenium?

528


Where we can use the analog mode and where we can use the low – level mode?

546


Where to use Property Let, Property Get, Property Set in UFT

348






Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?

1529


What is the registration process and examination fees?

530


explain abt dyanamic changing object with example?

1880


How to find array size in qtp?

548


how to explain a claims and insurance project?

1723


What is environment variable in qtp and why to use it?

527


Can we record using all the modes in a single script? Explanation with example is appreciated

1359


Explain in brief about the quicktest professional automation object model?

490


How many types of recording modes in qtp? Which will be used when?

531


I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that

1368