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
What is parameter in qtp?
What is difference between run time object and test object?
How to execute a winrunner script in quicktest professional (qtp)?
how to download mercury qtp9.2 ny internet ?
HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?
Can we run test with out adding object in object repository? How it is possible?
What is qtp window?
What is difference between shared and local object repository?
Can you write a script to check if the folder exists or not?
How many ways is to parameterize the value?
What is the extension of the qtp local repository?
In what occasion we can specify global sheet and action sheet?
Explain the new feature of UFT regarding the export of test results?
How does QTP identify an object?
Explain in brief about the quicktest professional (qtp) automation object model?