I have a menu that appears when you right click on a cell and goes away when the right click is unselected. I'm not thinking that I'll be able to automate this, but figured I would ask before I gave up. This is what I tried so far, but soon as the right click goes away then the menu goes away too. If while running, if I manually right click it will select the menu item.
As I understand, the problem is that the menu is only visible while you keep the right mouse button pressed and disappears as soon as the button is released. If so, you can try using the MouseDown method to simulate the MouseDown event, do the needed actions, and then, when you no longer need the menu, call the MouseUp method to make TestComplete "release" the mouse button. Please see the "MouseDown Method (Desktop Objects)" (http://smartbear.com/support/viewarticle/14060/) and "MouseUp Method (Desktop Objects)" (http://smartbear.com/support/viewarticle/14062/) help topics for more information.