10-28-2009, 07:24 PM
Hi,
can some one help me how to check if there is a scrollbar on a page.
Thanks,
kris
can some one help me how to check if there is a scrollbar on a page.
Thanks,
kris
|
how to check scroll bar exists on a page
|
|
10-28-2009, 07:24 PM
Hi,
can some one help me how to check if there is a scrollbar on a page. Thanks, kris
10-29-2009, 11:14 AM
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
10-29-2009, 12:24 PM
Could you provide me the any documents related to these keywords like object.body.scrollHeight
|
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| Report Viewer showing hundreds of WebElement.Exists? | themoon | 1 | 2,880 |
03-09-2016, 02:43 PM Last Post: vinod123 |
|
| How to check whether data exists in excel.. | venkatesh9032 | 1 | 3,628 |
03-06-2014, 04:37 PM Last Post: supputuri |
|
| Cannot find the "[ WebButton ]" object's parent "[ Page ]" (class Page) | sumitparolkar@gmail.com | 4 | 5,944 |
05-03-2013, 11:53 PM Last Post: agarwl.anurag |
|
| In qtp how to manage status bar for portal(SAP WEB Application) | kamal262007 | 0 | 3,009 |
03-08-2013, 12:58 PM Last Post: kamal262007 |
|
| Object does not exists | shwetasharma | 4 | 10,064 |
03-01-2013, 01:05 PM Last Post: shwetasharma |
|