Can anyone explain me about child objects in detail;when
they are used and why do we need them ? please give me
sample code for this if possible.
Answer / babu
Child objects method will be used to find the number of
objects in a particular page, frame etc ..
We can use this child objects method as follows:
Set oDesc = Description.Create()
oDesc("micclass").Value = "Link"
Set Lists = Browser("Login").Page("Application").Frame
("folderFrame").ChildObjects(oDesc)
NumberOfLists = Lists.Count()
msgbox NumberOfLists
By using above statements, you can find the links available
in the frame "folderframe".
Is This Answer Correct ? | 6 Yes | 0 No |
What r types of parametarizations?
What is the difference between run time object and test object in QTP?
What is test object model in QTP?
How can we display the names of the buttons in the toolbar of a webpage
hi i am new to qtp i need to run all files by a batch what is the procedure and what are following actions to be take?
How to load a object repository in QTP during runtime?
2 Answers BNP Paribas, Virtusa,
How can you merge two Object Repositories?
Is it possible to change the name of a test object. I mean when we are recording the script for an object (for Ex: Username is a text field which has value "Babu",i am recording that). Then the Name of the object will become "Babu" in object repository. If i want to change "babu" as "xxxxx" .. is it possible to do? Pls help me in this .. if you didn't understand the question, pls let me know.
Suppose you are using shared objects repository in your test and you want to split your present action? At that time shared object repository is single or it’s also splits?
What is log file?How to write log file code?
2 Answers Apps Lab, Value Labs,
Does QTP work in UNIX environment
5 Answers BirlaSoft, C1 India,
I am trying to install QTP 9.5 but i am getting error message saying that ("Path is \QuickTest Professional\bin\vb_init.exe") vb_init.exe file is not find. can anybody give me the advise what to do ?