Forum Discussion
shankar_r
9 years agoCommunity Hero
Hi,
I'm guessing your error comes at TWAPanel.PopupMenu.Click("History");
try the below code and share us the result you got.
function Test1()
{
var TWAPanel;
TWAPanel = Aliases.MOP1998.frmMain.pnlMeterID.ClickR();
TWAPanel.TWAPanelImage.ClickR(39, 40);
if(TWAPanel.PopupMenu != null)
{
TWAPanel.PopupMenu.Click("History");
}
else
{
Log.Error("Popup menu not found");
}
}
And also, where it is taking when you double clicking the log fail entry