Wikis - Page

Knowledge Doc: GetROProperty Method returns empty values from a JavaTree or JavaTable

0 Likes

On UFT One 2022 when usiing.GetRoProperty method for JavaTable and JavaTree objects in Java Swing application is returning empty value the second interaction

The first time that the value is assigned to a variable it provides the correct value but when it is done a second time after closing the window where the object is, the value is returned as empty. 

FirstTime = JavaWindow("Table Printing Demo 1").JavaTable("Final Grades - CSC 101").GetROProperty("enabled") -> Value "1"

SecondTime = JavaWindow("Table Printing Demo 1").JavaTable("Final Grades - CSC 101").GetROProperty("enabled")-> Empty value

Full article: https://portal.microfocus.com/s/article/KM000012997

Labels:

Support Tips/Knowledge Docs
Comment List
Related
Recommended