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 |
Hi Friends, If you got one Bug , and you are insert that bug in bug tracking tool , and you need to attach SC's (screen shots) also. how to tae SC's , in your organization any separate tools available to take SC's. please provide Ans. its urgent... Thanx in advance
What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?
take one example and write vbscript on one web application in qtp? explian descriptive programe with one example?
How to get the run time object property without using GetROProperty
How do u use Database checkpoints and what are the use?
Syntax for how to call one script from another and Syntax to call one "Action" in another?
I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian
what is qtp automation frame work,what is the use of that frame work?
64 Answers Cap Gemini, IBM, iGate, TCS,
How do you know the location Id of an object if you know its index id?
Hello Everybody, Please tell me the concept of recovery management in QTP by giving any practical example of it. Thanks, Gaytri
Hi This is tanya actually im facing problem in Qtp actully some time QTP doesnot recoznise the recorded object due to which script is going to fail.so can you tell me how we can handle this situation and i have another concerened issue is that at the time of run New errors comes every time so how we can handle this sitauation how we can add Recovery scenarios to the script.some time application runs successfully and some time it produces new error thats why i am facing lot of problem please give me the sugeestion as soon as possible.
Which scripting language used by quicktest professional (qtp)?