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
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 |
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 |
I am using environment variable xml to give credenatials for login into unix. Is there any way we cam mask the password in the xml?
How to export QTP results to an .xls file?
What are the Features & Benefits of Quick Test Pro ?
how to merge object repositories?
What is the use of breakpoint in qtp?
In QTP TEST DIRECTOR COMBINATION WHAT IS THE PURPOSE OF TEST DIRECTOR? In Somebody says to store test cases and design test cases.?ok fine , but In test director 5.0 , QTp not launching. what u do?
is it possible to map an image as standard Object or u've to treat as virtual? how to map an Dynamic image into standard object?
How comfortable are you in VB scripting?
Basically why we need testing?
If u don't have any Knowledge on perticular application but they give that application to u for Testing ? Then How we wil move towards testing on that application?
what difference between client and server applications exatly?
There is one login screen,after accepting valid username and apassword, it will show the next screen. In the 2nd screen u r having 2 combo boxes, U have to select any item from these, and click OK button. After closing that, it will show the 3rd screen. If u click CANCEL button from 2nd screen it will show the first screen. Write QTP script for it???