Click here to hide categories Click here to show left categories

User: Home          welcome : Guest          Log In / Register here     




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

Share this article   |    Print    |    Article read by 2281 times
Author:
Rohit kakria
I am software developer, moderator of xpode.com
Related Articles: No related article
Related Interview Questions: