Print Page | Close Window

function for checking the existence of scrollbar

Printed From: One Stop Testing
Category: Testing Tools @ OneStopTesting
Forum Name: QuickTest Pro @ OneStopTesting
Forum Discription: QuickTest Pro is a fresh approach to automated software and application testing that addresses testing needs of both business analysts and Quality Assurance professionals.
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=2804
Printed Date: 04Mar2025 at 1:56am


Topic: function for checking the existence of scrollbar
Posted By: tanushree
Subject: function for checking the existence of scrollbar
Date Posted: 12Oct2007 at 6:26am
It will be something like this
set objScroll=Browser(B).Page(p).scrollBar(s)

blnFlag= checkScrollBarExists(objScroll)

Function checkScrollBarExists(ByRef Scrollobj)
If Scrollobj.exits(5) Then
checkScrollBarExists=True
Else
checkScrollBarExists=False
End Function



Print Page | Close Window