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 |
-->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)?
How will you find the current time of the remote machine using QTP script?
what are SetToProperty, SetROProperty,GetToproperty scripting?
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
Explain the difference between call to action and copy action?
What is the D/B Test managemet tool and bug trcking tool? Ans send to pbr.qtp@gmail.com
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..
How u will open the build automatically in QTP except using Systemutil.run command
What are the different types of Database checkpoints in QTP? when they are used?
Have you used TD?
How comfortable are you in VB scripting?
what will be there in keyword view and expert view?