Forum Discussion
My guess is this... that there's a timing issue going on here somewhere... recording and playback have a flaw in many automated tools, that being that the automation almost ALWAYS plays back faster than the application can keep up. So, what might be happingin is all these commands are happening too fast for the application and so, when a "ClickItem" call is made the application may not be ready for it.
Examine what you're testing... after you do something like "ExpandItem" or "CollapseItem", is there something going on in the application that you may need to wait for, like a form to open, or load, or an option to be present on screen? If so, invesitgating putting in commands on WaitProperty or WaitAliasChild or something to that effect and wait for the application to "catch up" before going on to the next test step.