maxvscrollpos - vscrollpagesize = vscrollposition + 1
On Monday, 11 June 2012 09:08:29 UTC+5:30, Kathir wrote:
>
> Dear Friends,
>
> I'm using QTP 11.0 and IE 8.0, In my application
>
> I have a page with more no. of columns(which is dynamic), which cause my
> browser to have Horizontal scroll bar and few times Vertical scroll bar.
> Few times without scroll bars. I need to take screenshot for entire by
> moving Scrollbar Horizontally and vertically.
> 1. I'm struggling here to find whether the (Horizontal or Vertical)scroll
> bar is displayed in application or not, and if it exist
> 2. How to find the scroll bar properties(Scroll bar: Track length and
> Slider length).
> I browsed with many helps but it wont works for me, I'm struggling with
> this for past 1 month. I need to deliver in next 10 days.
> My application is designed with HTML, It need to be implement this in two
> case(having scroll bars). They are identified as
> 1. Browser(..).Page(..).Frame(..).WebElement(..)
> 2. Browser(..).Page(..)
>
> I tried with GetRoProperty of HasHScroll, HasVScroll , MaxHScrollPos,
> MaxVScrollPos
> these returns empty value. I too tried to find properties by
> Browser(..).Page(..).Frame(..).WebElement(..).object.body.
> But I'm not able to identify it clearly.
>
> But i was able to move page by
> Browser("xyz").page("xyz").frame("xyz").webelement("xyx").Object.doScroll
> "scrollbarPageDown"
> I know some one from here can solve this problem. Please response as soon
> as possible, since i was very much need of it.
>
> --
> Thanks in advance,
> Kathir. K
>
--
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
---
You received this message because you are subscribed to the Google Groups "QTP
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.