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 are the five challenges you faced in QTP?
What is the extension of the qtp local repository?
How do you delete unwanted results in qtp?
How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?
Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek
What are the key elements available in test result window?
Thanks....But can u tell me how i use the QTP for GIS with one Example...
In qtp, explain what is qrs file?
Can we create a qtp test from qc?
what is the hierarchy to use properties in descriptive programming
What are parameterizing tests?
give me an example where u used good judgement and logic in solving a problem
is it possible to add sheets to excel at runtime
i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.
Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)