Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Windows 7
#1
Accessible Objects:
I no longer see the option to select the ID
[Image: 8xojfq.png]

They also seem to take much longer to search for the object

Using windows 7 x64 and Firefox 3.5.8
#2
It is Firefox bug. When QM queries parent window of an accessible object in web page, FF gives top-level window handle. It is not child window and therefore does not have id. FF should give handle of immediate child window that contains the accessible object. QM uses Windows API function WindowFromAccessibleObject.

You can at first find the child window with the 'Find window or child' dialog. Then use the handle in acc, and don't use class in acc.

Macro Macro1194
Code:
Copy      Help
int t1=perf
int hwnd=child("" "MozillaWindowClass" win(" - Mozilla Firefox" "MozillaUIWindowClass") 0x1 0 0 2)
Acc a=acc("Submit" "PUSHBUTTON" hwnd "" "" 0x1001)
int t2=perf
out t2-t1/1000
out a.Name

But in my test it was not faster.


Forum Jump:


Users browsing this thread: 1 Guest(s)