Forum Discussion

avinashshukla's avatar
avinashshukla
Occasional Contributor
2 years ago

Object doesn't exist

While running the test script : It throw error Object tabcontrol doesn't exist (but some-time it executes properly)

(Object Mapping is proper and in picture tab show control is available.)

 

code eg:

Set tabControl = pynw_MainForm.Pynw_MainPanel.panelMain.dockPanel.DockWindow.DockPane.Pynw_Explorer.splitContainer1.SplitterPanel.tabControl
Call tabControl.Click(62, 11)
Call Delay(8375)
Call tabControl.ClickTab("Plants")
Call Delay(2000)

Call tabControl.ClickTab("Groups")

what could be possible reason of getting failure?



2 Replies