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
What is action split and the purpose of using this in qtp?
Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)
What is ObjectParamater?
Why is action split used by qtp?
Hi,All How to create a link in excel sheet using qtp
What are the views available in quicktest professional?
what is error and fault in terms of software quality?
Explain the concept of object repository and how QTP recognizes objects?
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
Can the user toggle between using Local OR and shared OR for the same action?
Explain the concept of how quicktest professional identifies object?
why text area checkpoints cannot used for web applications
How to use transactions in qtp?
Explain sub procedure of vbscript.
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