Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[UFT][WPF] WpfObejct: get visibility of scrollbars
#1
Not Solved
Hi,
in my application, I have a WpfObject obejct.

I would check if vertical or horizontal scrollbars are visibile.

With Spy, I checked that:

- ComputedHorizontalScrollBarVisibility = {Collapsed}

- ComputedVerticalScrollBarVisibility = {Visible}

How can I get this value?

I tried with:
Code:
WpfWindows("myapp).wpfObject("myobject").Object.ComputedHorizontalScrollBarVisibility

but it returns an object, how can I get the value?

In the native methods, I found:

GetHorizontalScrollBarVisibility (element)

GetVerticalScrollBarVisibility (element)

but, what should I write on (element)?

Thanks.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  no action on click for particular wpf button jlavrecka 1 1,463 05-21-2020, 11:33 PM
Last Post: jlavrecka
  Issue in QTP WPF vimal_selvam 5 14,311 06-26-2018, 05:40 PM
Last Post: rateebhatt
  UFT 14.01 - identifying wpf objects. but not performing action. chinmoyee 1 2,533 11-15-2017, 03:42 PM
Last Post: Ankur
  [UFT] [WPF] Verify if the cell contains an image robertosalemi 0 1,918 10-25-2016, 06:57 PM
Last Post: robertosalemi
  [UFT] [WPF] DataGrid: get items of ControlTemplate robertosalemi 0 3,510 07-14-2016, 07:52 PM
Last Post: robertosalemi

Forum Jump:


Users browsing this thread: 2 Guest(s)