Posts: 58
Threads: 19
Joined: Mar 2005
Accessible Objects:
I no longer see the option to select the ID
They also seem to take much longer to search for the object
Using windows 7 x64 and Firefox 3.5.8
Posts: 12,073
Threads: 140
Joined: Dec 2002
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
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.