A web Page has 2 frames. Find out the number of weblist
items in the second frame of the page.

Answers were Sorted based on User's Feedback



A web Page has 2 frames. Find out the number of weblist items in the second frame of the page...

Answer / sesibhushan



set FrameObj=Browser("micclass:=Browser").Page
("micclass:=Page").Frame("micclass:=Frame","index:=1)

Set wList=description.create
wList("micclass").value="WebList"

set wListObj=FrameObj.ChildObjects(wList)

wListcount=wListObj.count

msgbox wListcount

Is This Answer Correct ?    30 Yes 0 No

A web Page has 2 frames. Find out the number of weblist items in the second frame of the page...

Answer / vasu j

The above answer by Sesibhushan is exactly correct.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More QTP Interview Questions

Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma

0 Answers  


Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.

0 Answers  


what is testing process with QTP in organization

1 Answers   Tech Mahindra,


What are the different types of functions available in qtp and explain ?

0 Answers  


How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.

0 Answers  






I have a web table,in that web table in 3rd row 4th coloumn i have a link how to click it with descriptive programming? I have a webedit without entering any value how to calculate the size of that field? I have a DB table , how to find the 5th highest salary? write query.

2 Answers   3i Infotech,


We have 10 rows in datatable at runtime we get error at 3rd row ? what is the procedure for continuing same test from 4th row on wards?

10 Answers  


What is checkpoint in qtp?

0 Answers  


We stored into the objects OR and then write the scripting

0 Answers   L&T, Wipro,


what is defination of intergration testing?

2 Answers  


How to invoke QTP through VBscript?Send me full code along with description of the code.Thanks in Advance

1 Answers   Capco,


I install .Net Add-Ins in my system. It installed properly. But all the objects are recognizing as window objects only. But it has to recognize as swf objects. In Record and Run setting i selected 'Record and run test on any open browser' and Record and run test on any open Windows-based application' Can any one tell what setting i have to do to recognize objects correctly as swf...? Please give some suggestions..?

1 Answers  


Categories