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 |
what is the another name for blackbox testing?
How to "Turn Off" QTP results after running a Script?
for example one window is there, the window contains how many edit box's i want script? i know the script but that is not exact answer.... The script is like this .......... set a=description.creation() a("Native class")="WinEdit" b=window("Flight Reservation").childobject(a).count msgbox b if u found exact answer please getback to me? raju.ippali@gmail.com 9823257761
How can we disable popup blocker? (I think it means when we get a pop up messge(its error) how we wil disable that one with out interrupting normal process)
What is the difference between qtp and selenium?
i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click
can i compare two databases using QTP ?
Get the count of files of similar types from a folder.
How to get the column count and column name from the resultset in the database connection program?
if we can find the status of script in qtp that either it's pass or fail then why we need to put this status on different excel file or log file in hybrid framework .please let me know asap thanks
why was automation used in the project?
What contains Data Driven Framework document in qtp?