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 command for executing files?
when u script reveiwing in which area u more concentrates?
how can we preform retesting(DATA driven test) using function please gine the code for loginpage
Define object spy ?
How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?
what are all the fileds present in object repository?
How does you pass optional arguments in qtp?
before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...
how did u use automating testing tools in ur job?
What is the use of text output value in quicktest professional (qtp)?
who QTP recognizes the object stored in object repository?
How to handle the exceptions using recovery secnario manager in quicktest professional?
How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
What is synchronization? What are the ways you can synchronize?