BUG: GDI recognition broken?
Posted: Wed Feb 05, 2014 6:21 pm
Hi, it seems there is something wrong with GDI recognition in latest 4.1.5 (and in 4.1.4 too). It seems the problem happens in the RX Spy started from RX Studio (works OK in standalone Spy).
I added a SysTreeView32 element from an already running application to the GDI list. After I refreshed the RxSpy, it correctly showed the SysTreeView32 RAW elements. See this screenshot: I then recorded some steps and selected RAW elements have been correctly highlighted and stored in repository. The problem started when I tried to edit an element containing RAW text by starting the Spy from Studio. Additionally, the element in question is not even found/recognized after an attempt to highlight it from Studio (Repository view).
Here is a screenshot showing the content of Spy started from Studio: Here you can find snapshots created both in Standalone Spy and Spy started from Studio: And here is the path which works OK in the standalone Spy, but not in Studio Spy:
/form[@title~'^LiteBox3D']/element[5]/element/element[1]//element[@accessiblename='left_panel']/element[@accessiblename='measurement_panel']//tree[@accessiblename='measurement_tree']/rawtext[@column='6' and @row='2']
Aside the SysTreeView32 element, I also tried to add the process name to the GDI list, but this did not help.
Any idea what's wrong or what should I try? I only now realized the need of using GDI in our tests, so it may be that I'm missing something important?
PS: You may notice that there is used a variable in the root node definition , but this is definitely not a cause of this issue. Other GUI elements are recognized OK, except the RAW elements. And I also tried to remove this variable, but this did not help either.
I added a SysTreeView32 element from an already running application to the GDI list. After I refreshed the RxSpy, it correctly showed the SysTreeView32 RAW elements. See this screenshot: I then recorded some steps and selected RAW elements have been correctly highlighted and stored in repository. The problem started when I tried to edit an element containing RAW text by starting the Spy from Studio. Additionally, the element in question is not even found/recognized after an attempt to highlight it from Studio (Repository view).
Here is a screenshot showing the content of Spy started from Studio: Here you can find snapshots created both in Standalone Spy and Spy started from Studio: And here is the path which works OK in the standalone Spy, but not in Studio Spy:
/form[@title~'^LiteBox3D']/element[5]/element/element[1]//element[@accessiblename='left_panel']/element[@accessiblename='measurement_panel']//tree[@accessiblename='measurement_tree']/rawtext[@column='6' and @row='2']
Aside the SysTreeView32 element, I also tried to add the process name to the GDI list, but this did not help.
Any idea what's wrong or what should I try? I only now realized the need of using GDI in our tests, so it may be that I'm missing something important?
PS: You may notice that there is used a variable in the root node definition , but this is definitely not a cause of this issue. Other GUI elements are recognized OK, except the RAW elements. And I also tried to remove this variable, but this did not help either.