12 years ago
Object Tree fails to auto refresh
Object Tree doesn't show the "visible on screen" windows of AUT until it is refreshed manually in Object tree page. I have added "Sys.Refresh" line in different places but it didn't help. Using that line doesn't refresh the tree and show the visible windows. Please help me how the object tree can be refreshed automatically to make my tests to work properly.
I am using TC 9.20 on my work machine that runs Win 7. The application under test is Java which uses SwingObjects.
While browsing through the similar issues, I realized that this issue reported by somebody else was fixed in this release. Unfortunately, I am still seeing this issue in TC9.20 version.
I would really appriciate if you could help me out from this problem.
Thanks,
Padma
Code:
Call Aliases.LaunchDlg.RootPane.null_layeredPane.Panel.ComboPopup_popup.ComboBox_scrollPane.Viewport.ComboBox_list.ClickItem(1)
Delay 2500
Sys.Refresh
Call aqObject.CheckProperty(LevelPanel.waitSwingObject("JCheckBox", "High Level", 2000), "wState", cmpEqual, 0)
I am using TC 9.20 on my work machine that runs Win 7. The application under test is Java which uses SwingObjects.
While browsing through the similar issues, I realized that this issue reported by somebody else was fixed in this release. Unfortunately, I am still seeing this issue in TC9.20 version.
I would really appriciate if you could help me out from this problem.
Thanks,
Padma
Code:
Call Aliases.LaunchDlg.RootPane.null_layeredPane.Panel.ComboPopup_popup.ComboBox_scrollPane.Viewport.ComboBox_list.ClickItem(1)
Delay 2500
Sys.Refresh
Call aqObject.CheckProperty(LevelPanel.waitSwingObject("JCheckBox", "High Level", 2000), "wState", cmpEqual, 0)