Answer Posted / babu
Set oDesc = Description.Create()
oDesc("micclass").Value = "Webedit"
Set Lists=Browser("Login").Page("Application").ChildObjects
(oDesc)
NumberOfLists = Lists.Count()
msgbox NumberOfLists
By using above statements you can find the count for no of
edit boxes in a page.
Correct me if i am wrong.
| Is This Answer Correct ? | 25 Yes | 3 No |
Post New Answer View All Answers
How to call a test from another test?
How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?
What is quicktest professional?
What is QTP’s model for test creation?
How to use output values in qtp ?
Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?
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 quick test pro? What is a quick test professional?
What are the data types in qtp?
Explain the qtp test phases.
What are the things(properties, and other details) will be recorded while recording an object using normal recording?
What is quick test pro?
How do you perform Regreession Testing?
explain abt dyanamic changing object with example?
Give me some real time point of way where exactly we can conduct audits?