Ask a Question

Unable to verify the sub menu under StripMainMenu

Frequent Visitor

Unable to verify the sub menu under StripMainMenu

I have to verify the sub menu item which is visible when some control is set to 'ON' and not visible when control is 'OFF'

Properties attached to that ToolStripDropDownMenu is same when its visible and when its not visible.


Please find the below code that i have tried

Sys.Process("CareSys").WinFormsObject("frmMain").StripMainMenu.Items("File").SubMenu.Items("Configuration").SubMenu.Items("Cloud services").Enabled;

I have to verify "Cloud services" .if its present then i have to click on it.





Community Hero

Are you saying that the Properties list is the same when visible/not visible or that the values are the same?


Exists value could be the same both times, but visible value should be different.

[Community Hero]
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
Showing results for 
Search instead for 
Did you mean: