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
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 |
Answer / vasu j
The above answer by Sesibhushan is exactly correct.
Is This Answer Correct ? | 2 Yes | 1 No |
When should u feel that u can stop testing now? The following are few of the common Test Stop criteria:
Explain how you can find length of array in qtp?
What is the process of synchronizing qtp and aut?
How to find a window is minimized or not
How to enter table check points?
How to handle Java tree in QTP?
What are the different types of functions available in qtp and explain ?
Write a script to delete a specific row in a webtable.
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.
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
where did you automate in your project?(please tell me example senarios)
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