Forum Discussion
Dmitry_Nikolaev
14 years agoStaff
Hi Sumedha,
Another possible cause of the problem is that the popup menu is not displayed instantly. In this case, TestComplete can find the menu object and the desired menu item, but when it tries to click the item, the menu is not displayed yet. If this is the case then inserting a short delay before the problematic line should help.
function Test1() /create and delete block
...
burster.frmDefineBlock.VBObject("cmdOK").ClickButton();
workbookView.Click(684, 193);
workbookView.ClickR(469, 123);
Delay(500);
workbookView.PopupMenu.Click("Delete Block"); //Delete the block.
...
Related Content
Recent Discussions
- 2 days agovladd1