Forum Discussion
howie_
10 years agoContributor
Hi Tanya,
I did see that article, which is why I tried running .Refresh(); I just double-checked my mouse movement delay and it's set to zero. The rest of the thread either doesn't seem to apply, or hasn't quite solved my problem. I ran some test cases to try to get more information, here are my results:
Accessing a top-level menu:
Code: Aliases.TestProduct.MainFormBase.UICtrlsMainMenu.Click("[4]"); //"Help"
Result: Pass
Accessing the first submenu:
Code: Aliases.TestProduct.MainFormBase.UICtrlsMainMenu.Click("[2|1]"); //"View|Expand All"
Result: Pass
Accessing the second submenu:
Code: Aliases.TestProduct.MainFormBase.UICtrlsMainMenu.Click("[0|0|1]"); //"File|New|DocType1"
Code: Aliases.TestProduct.MainFormBase.UICtrlsMainMenu.Click("[0|0|1]"); //"File|New|DocType2"
Result: Pass
The "Tools" menu seems to be the only one displaying any unusual behavior...
Accessing "Tools" menu:
Code: Aliases.TestProduct.MainFormBase.UICtrlsMainMenu.Click("[3]");
Result: Pass
Accessing "Tools|Options":
Code: Aliases.TestProduct.MainFormBase.UICtrlsMainMenu.Click("[3|1]");
Result: Pass
Accessing "Tools|Options|Click Mode":
Code: Aliases.TestProduct.MainFormBase.UICtrlsMainMenu.Click("[3|1|0]");
Result: Fail
Fail Rate: 77/100
Accessing "Tools|Options|Restore Confirmations":
Code: Aliases.TestProduct.MainFormBase.UICtrlsMainMenu.Click("[3|1|1]");
Result: Fail
Fail Rate: 66/100
The only difference between the "Tools" menu and the rest of them is that "Click Mode" is checkable. There are no competing processes, no overlapping windows or popups, no other activities on the machine. The mouse movement delay remains at zero, and all other conditions are identical to the test cases that passed. The passing test succeed both before and after interactiong with the Tools menu. Refreshing between click attempts doesn't seem to change anything. In every other way this menu appears completely unremarkable.
I think I've pretty much run out of ideas besides "don't touh the tools menu", which probably isn't a very good plan. Does any of this new information help? Is there something you'd recommend I try out?
Thanks again for your help.
I did see that article, which is why I tried running .Refresh(); I just double-checked my mouse movement delay and it's set to zero. The rest of the thread either doesn't seem to apply, or hasn't quite solved my problem. I ran some test cases to try to get more information, here are my results:
Accessing a top-level menu:
Code: Aliases.TestProduct.MainFormBase.UICtrlsMainMenu.Click("[4]"); //"Help"
Result: Pass
Accessing the first submenu:
Code: Aliases.TestProduct.MainFormBase.UICtrlsMainMenu.Click("[2|1]"); //"View|Expand All"
Result: Pass
Accessing the second submenu:
Code: Aliases.TestProduct.MainFormBase.UICtrlsMainMenu.Click("[0|0|1]"); //"File|New|DocType1"
Code: Aliases.TestProduct.MainFormBase.UICtrlsMainMenu.Click("[0|0|1]"); //"File|New|DocType2"
Result: Pass
The "Tools" menu seems to be the only one displaying any unusual behavior...
Accessing "Tools" menu:
Code: Aliases.TestProduct.MainFormBase.UICtrlsMainMenu.Click("[3]");
Result: Pass
Accessing "Tools|Options":
Code: Aliases.TestProduct.MainFormBase.UICtrlsMainMenu.Click("[3|1]");
Result: Pass
Accessing "Tools|Options|Click Mode":
Code: Aliases.TestProduct.MainFormBase.UICtrlsMainMenu.Click("[3|1|0]");
Result: Fail
Fail Rate: 77/100
Accessing "Tools|Options|Restore Confirmations":
Code: Aliases.TestProduct.MainFormBase.UICtrlsMainMenu.Click("[3|1|1]");
Result: Fail
Fail Rate: 66/100
The only difference between the "Tools" menu and the rest of them is that "Click Mode" is checkable. There are no competing processes, no overlapping windows or popups, no other activities on the machine. The mouse movement delay remains at zero, and all other conditions are identical to the test cases that passed. The passing test succeed both before and after interactiong with the Tools menu. Refreshing between click attempts doesn't seem to change anything. In every other way this menu appears completely unremarkable.
I think I've pretty much run out of ideas besides "don't touh the tools menu", which probably isn't a very good plan. Does any of this new information help? Is there something you'd recommend I try out?
Thanks again for your help.
Related Content
Recent Discussions
- 13 hours agoSvetaG