Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

How to Analyze the Checpoint results by Table and DB Checkpoints?

1 Answers  


Which features or drawbacks of QTP lead to the upgrade for a newer version?

0 Answers  


what is QTP batch testing tool?

2 Answers  


what is recovery scenario in QTP? what is the need of the recovery scenario in QTP? what are the advantages of the recovery scenarios in QTP?

3 Answers   CTS,


How to recognise the webelement and verifying that webelement is enabled?

0 Answers  






What is API

2 Answers   Satyam,


anyone can explain the following concepts. 1.diff b/w Linear and modular framework 2.diff b/w keyword and hybrid framework

1 Answers  


Is virtual object supported in low level recording mode?

0 Answers  


hello, i was install Q.T.P.8.2 in windows xp version .when i am running my programs all the desktop icons are disappear why so. please guide me anybody how can i come out side this problem.

3 Answers  


How many tabs are available to view your test in a test pane and what are they?

0 Answers  


How you can decide which type of object repository you have to use?

0 Answers  


Where to use function or action?

0 Answers  






Categories