Forum Discussion
rraghvani
Champion Level 3
3 years agoCan you try this please,
var tabControl = Sys.Process("EchoClientUtility").WinFormsObject("EchoClientApplicationForm").WinFormsObject("splitContainerMain").WinFormsObject("SplitterPanel", "", 1).WinFormsObject("splitContainerUpper").WinFormsObject("SplitterPanel", "", 1).WinFormsObject("tabControl")
Sys.HighlightObject(tabControl); // Is the tab control highlighted?
var tabControlPanelSurvey = tabControl.WinFormsObject("tabControlPanelSurvey");
Sys.HighlightObject(tabControlPanelSurvey); // Is the tab control survey highlighted?
tabControlPanelSurvey.Click();Are the controls highlighted correctly?
Can you also, click on each of the tabs, then run the above code again. Because "tabControlPanelSurvey" is greyed out, the page could be dynamically created when it's clicked on.