TestComplete cannot click item on popupmenu during playback
Hi,
I am trying to click an item named "Import" on popup menu, but TestComplete is not able to find it during playback. I recorded the script and during playback it's not finding it, not sure what to do.
Below is the code, if it helps:
var axisel = Sys["Process"]("AXISEL");
var tabControl = axisel["WinFormsObject"]("MainForm")["WinFormsObject"]("splitContainer1")["WinFormsObject"]("SplitterPanel", "", 2)["WinFormsObject"]("splitContainer2")["WinFormsObject"]("SplitterPanel", "", 1)["WinFormsObject"]("JobDetailView")["WinFormsObject"]("splitContainer1")["WinFormsObject"]("SplitterPanel", "")["WinFormsObject"]("tabControl");
tabControl["WinFormsObject"]("tabPageSchedule")["WinFormsObject"]("ScheduleView")["WinFormsObject"]("splitContainer1")["WinFormsObject"]("SplitterPanel", "", 1)["WinFormsObject"]("ItemList")["ClickR"](184, 89);
axisel["WinFormsObject"]("JobMenu")["MenuItem"]("Import")["Click"]();
Thank you for quick reply guys, there was an issue in Name Mapping. Anyways, it's working now.