Xpode.com        Click here to Print this article.

How you can test a frame (Frame exists or not) in a web page using QTP?

Write the following script to check frame exists of not.

if Bowser("browser name").page("page name").frame("frame name").exits then
reporter.reportevent (micPass),"frame","frame exists"
else
reporter.reportevent (micFail),"frame","frame doesn't exists"
end if



http://
http://

Contributed by:
Rohit kakria
I am software developer, moderator of xpode.com

Resourse address on xpode.com
http://www.xpode.com/Print.aspx?Articleid=417

Click here to go on website