Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is action split and the purpose of using this in qtp?

967


Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)

3647


What is ObjectParamater?

1946


Why is action split used by qtp?

922


Hi,All How to create a link in excel sheet using qtp

3369


What are the views available in quicktest professional?

972


what is error and fault in terms of software quality?

1906


Explain the concept of object repository and how QTP recognizes objects?

974


Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("ยป County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma

1726


Can the user toggle between using Local OR and shared OR for the same action?

910


Explain the concept of how quicktest professional identifies object?

917


why text area checkpoints cannot used for web applications

2321


How to use transactions in qtp?

925


Explain sub procedure of vbscript.

986


Where should i find checkpoint and virtual objects's Object properties and values in the QTP 9.2 Means where checkpoints or virtual objects related data will store If i want to get the runtime object properties how can i use Getroproperties on Checkpoints

1815