Micro Focus QTP (UFT) Forums
DevExpress TreeList Error - 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: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: DevExpress TreeList Error (/Thread-DevExpress-TreeList-Error)



DevExpress TreeList Error - Autobot - 11-14-2014

I'm trying to access the native properties of a DevExpress.XtraTreeList.TreeList, every property I've tried to use to get the node count causes the AUT to crash.

The error thrown is a general error. Sometimes it works but it seems that most of the time the AUT will crash.

Properties I've tried include:
Code:
Object.ViewInfo.RowsInfo.Rows.Count
Object.Nodes.Count
Object.VisibleNodesCount
Object.AllNodesCount

It seems that they all return the correct values.

Any advice would be much appreciated.


RE: DevExpress TreeList Error - vinod123 - 11-14-2014

Version of the QTP, Browser and Technology of the application needed


RE: DevExpress TreeList Error - Autobot - 11-14-2014

Sorry,
UFT 12.01
It's a WinForms application


RE: DevExpress TreeList Error - Autobot - 11-18-2014

Resolved, found that there was another element that was causing the issue for the following iterations of the test.
Thanks!