13 years ago
Not able to select Items in POPUP menu using Test Complete
In My Tested Application there is a popup menu (TD.SandBar.PopupMenu) after right click the tree View
After recording Test Complete is recognising as Mouse C0-ordinates,Not as Items
Dim popupMenu
Dim popupMenu2
Set soMachine = Aliases.SoMachine
Set internalListView = soMachine.MainForm.DockContainer.Devices.Devices.ztreeTableView.InternalListView
Call internalListView.ClickItem("Untitled17 ", 0)
Call internalListView.ClickItem("ATV32 (ATV32) ", 0)
Call internalListView.ClickItemR("ATV32 (ATV32) ", 0)
Set popupMenu = soMachine.PopupMenu
Call popupMenu.Click(72, 376)
Set popupMenu2 = soMachine.PopupMenu1
Call popupMenu2.Click(59, 13)
Call popupMenu2.Click(155, 9)
Call popupMenu.Click(131, 33)
Call popupMenu2.Click(115, 69)
I check the Object Spy there is no method called Clickitem or any way to select it
I am attaching screen shots
Please help me on this .This is the main flow for configuring my project.
I dont want to use low level recording for this
After recording Test Complete is recognising as Mouse C0-ordinates,Not as Items
Dim popupMenu
Dim popupMenu2
Set soMachine = Aliases.SoMachine
Set internalListView = soMachine.MainForm.DockContainer.Devices.Devices.ztreeTableView.InternalListView
Call internalListView.ClickItem("Untitled17 ", 0)
Call internalListView.ClickItem("ATV32 (ATV32) ", 0)
Call internalListView.ClickItemR("ATV32 (ATV32) ", 0)
Set popupMenu = soMachine.PopupMenu
Call popupMenu.Click(72, 376)
Set popupMenu2 = soMachine.PopupMenu1
Call popupMenu2.Click(59, 13)
Call popupMenu2.Click(155, 9)
Call popupMenu.Click(131, 33)
Call popupMenu2.Click(115, 69)
I check the Object Spy there is no method called Clickitem or any way to select it
I am attaching screen shots
Please help me on this .This is the main flow for configuring my project.
I dont want to use low level recording for this