Micro Focus QTP (UFT) Forums
Not able to read all the columns in a DevEx WPF grid - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Not able to read all the columns in a DevEx WPF grid (/Thread-Not-able-to-read-all-the-columns-in-a-DevEx-WPF-grid)



Not able to read all the columns in a DevEx WPF grid - srisrinath2006 - 05-06-2013

Hi,

Our application is built on DevExpress controls and we are planning to automate the UI testing using QTP 11.0. I have the below quires:
1. DevEx WPF Grid is recognized as a WPFObject. Is there any way to recognize the WPF grid as a WPFTable
2. In my application there are about 16 columns. With the help of DP and native properties I am able to read the column header titles. But I am able to read only the columns that are visible on the screen. I am not able to read the columns that needs to viewed by using the horizontal scroll bar.
Please let me know if there is any way to read all the column titles at one go.

Thanks in Advance

Srinath--


RE: Not able to read all the columns in a DevEx WPF grid - sria123 - 05-10-2013

This type of grids are tricky to automate. if the scroll bar is getting identified you have to utilize the scrioll bar to make the columns visible.
to read the grid values change the index property during runtime while utilizing the scroll feature

thanks
Sonu