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

When should u feel that u can stop testing now? The following are few of the common Test Stop criteria:

2 Answers  


Explain how you can find length of array in qtp?

0 Answers  


What is the process of synchronizing qtp and aut?

0 Answers  


How to find a window is minimized or not

0 Answers  


How to enter table check points?

2 Answers  


How to handle Java tree in QTP?

0 Answers  


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

0 Answers  


Write a script to delete a specific row in a webtable.

2 Answers   Tech Mahindra,


In a web page when we enter the city name corresponding zip code is coming in the required field.Can any one please write how to test using QTP,whether this code is coming from Database or not.

1 Answers  


Pls anyone, tell me the script in QTP to find the number of links, and images in a webpage. Verry very urgent. I shall really be very thankful

3 Answers  


where did you automate in your project?(please tell me example senarios)

2 Answers  


how to get childobject from .net application. i tried but its showing child object count zero. but window has child objects.the following script i written... pls help me how to get. set parent=SwfWindow("winodw name") CheckObjectDescription parent, SwfButton Public Function CheckObjectDescription(parent, oDesc) Set oDesc = Description.Create() oDesc("micClass:").Value ="Swfbutton" Set children = parent.ChildObjects(oDesc) cntObj=children.count msgbox(cntObj) End function

1 Answers  


Categories