I had this issue where tests would randomly fail and then pass on rerun. Also one test would pass and another test very similar to it would fail.
I am using QuickTest Professional to test a web application based on Microsoft SharePoint. In some pages, there are links with dropdowns. When you mouse over the link an arrow image appears which if clicked will display a dropdown.
From what I understand looking at the screenshots of the failures and also by trying to run it couple times is:
If I leave the mouse in the middle of the screen and if it is over one of the elements which is a link and dropdown - it get's highlighted. And prevents the intended element from being highlighted.
Steps in my tests are as below:
First to fireevent on mouse-over on the WebTable and then to click an image in the Table.
The first step doesn't work since the mouse is on another WebTable which is highlighted.