AdvancedQTP Forums
Sponsored by Solmar Knowlege Networks
Return to advancedqtp
Home
Search
Login
Register
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Advanced search
18120
Posts in
4741
Topics- by
31743
Members
- Latest Member:
suuraj
you are here:
AdvancedQTP Forums
»
AdvancedQTP Forums
»
General QTP Q&A
» (Moderators:
Paul Grossman
,
Stefan Thelenius
,
Asiq Ahamed
)How to get the position of scroll bar?
corp-lt Theme designed by
padexx
« previous
next »
Pages: [
1
]
Go Down
0 Members and 1 Guest are viewing this topic.
Author
Topic:
How to get the position of scroll bar?
(Read 421 times)
Pawan Dixit
User
Offline
Posts: 37
How to get the position of scroll bar?
«
on:
June 04, 2009, 12:49:30 PM »
Hi All,
I want to get the position of scroll bar(Horizontal & Vertical) with the help of QTP.
Is there any way to do so?
Regards,
Pawan Dixit
Logged
Rohith Vishwanath
User
Offline
Posts: 24
Wrking as a Automation Engineer on QTP. Thirst to explore advance options in QTP and leverage that knowlede to solve problem and to share what I have learnt.
Re: How to get the position of scroll bar?
«
Reply #1 on:
February 23, 2010, 02:01:53 AM »
Hi,
You got to use GetRoProperty for properties - maxvscrollpos, vscrollpagesize and vscrollposition. Of course, you can just use vscrollposition to get the position, but if you want to know if you have reached the bottom of the scroll, you can use the formula maxvscrollpos - vscrollpagesize = vscrollposition + 1(God knowz why you got to add 1). Try out, you will better understand.
Logged
Pages: [
1
]
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
AdvancedQTP
-----------------------------
=> Bulletin Board
-----------------------------
AdvancedQTP Load & Performance Forums
-----------------------------
=> Load & Performance Q&A
-----------------------------
AdvancedQTP Forums
-----------------------------
=> General QTP Q&A
=> Web Q&A
=> Web Services Q&A
=> .Net Q&A
=> Java Q&A
=> ActiveX Q&A
=> SAP Q&A
=> TE Q&A
=> Siebel Q&A
=> Quality Center Q&A
-----------------------------
AdvancedQTP Products Support
-----------------------------
=> Reporter Manager Q&A
-----------------------------
AdvancedQTP Free Tools Forums
-----------------------------
=> AutoIt Q&A
-----------------------------
FR Project Forum
-----------------------------
=> FR Project
-----------------------------
AdvancedQTP Forums Support Center
-----------------------------
=> TroubleShooting
Loading...