Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to check scroll bar exists on a page
#2
Not Solved
I am not aware of any direct method of doing this but I can suggest a workaround for this you can try with the code below
Code:
ScHeight = Browser(" ").Page(" ").Object.body.scrollHeight
ScHeight = int( round((ScHeight/1000),1))
If ScHeight > 0 Then
    msgbox "Scroll bar exists"
End If

Reply


Messages In This Thread
RE: how to check scroll bar exists on a page - by Saket - 10-29-2009, 11:14 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Report Viewer showing hundreds of WebElement.Exists? themoon 1 2,236 03-09-2016, 02:43 PM
Last Post: vinod123
  How to check whether data exists in excel.. venkatesh9032 1 2,940 03-06-2014, 04:37 PM
Last Post: supputuri
  Cannot find the "[ WebButton ]" object's parent "[ Page ]" (class Page) sumitparolkar@gmail.com 4 4,792 05-03-2013, 11:53 PM
Last Post: agarwl.anurag
  In qtp how to manage status bar for portal(SAP WEB Application) kamal262007 0 2,553 03-08-2013, 12:58 PM
Last Post: kamal262007
  Object does not exists shwetasharma 4 8,804 03-01-2013, 01:05 PM
Last Post: shwetasharma

Forum Jump:


Users browsing this thread: 1 Guest(s)