Hi Robin:
This failure is caused by a change in the order of the focus window
changes on Leopard versus Tiger. The old recorded script framework
was particular prone to this problem so I've take a new approach in
my recent update to the recorded script framework and this shouldn't
be a problem in the future.
I'm running the new recorded scripts in a branch and will check it in
to the trunk as soon as it runs reliably on the tinderboxes.
Unfortunately, the new recorded scripts tests are catching bugs in
rt.py and the tinderboxes themselves (random false positives and
false negatives) that look unrelated to recorded scripts, so I'm
blocked until I can get some help fixing them.
John
On Oct 30, 2007, at 1:07 AM, Robin Dunn wrote:
As I was working on the new wx merge I discovered a possible
problem on Leopard. The recTestAllDay test was failing for me on
Leopard, but an identical build did fine on my Tiger box and the
full functional tests passed there. Here is the traceback in the
log file:
2007-10-29 22:28:47,012 recorded_test_framework ERROR: Test
"recTestAllDay" has failed due
to traceback
Traceback (most recent call last):
File "/home/work/projects/osaf/chandler/tools/cats/framework/
run_recorded.py", line 96,
in run_test_by_name
File "/projects/osaf/chandler/tools/cats/recorded_scripts/
recTestAllDay.py", line 30, in
run
ProcessEvent (wx.MouseEvent,
{'associatedBlock':'ApplicationBar', 'eventType':wx.EVT_L
EFT_DOWN, 'sentTo':'ApplicationBar', 'newFocusWindow':-219,
'newFocusWindowClass':wx.Windo
w, 'lastWidgetValue':u'testAllDay'}, {'m_leftDown':True, 'm_x':290,
'm_y':17})
File "/home/work/projects/osaf/chandler/parcels/osaf/framework/
script_recording/script_l
ib.py", line 163, in ProcessEvent
AttributeError: 'NoneType' object has no attribute 'GetParent'
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev