I want to test a menustrip on the GUI. I ran the code I attached, the program could not find the type of the control. I mean, it did find a control which text is "MenuStrip", but it didn't tell me it's a menustrip. Is there any problem? Thanks.
static void Main()
Form form = Application.FindFormTitle("MiniView");
Control menuStrip = form.FindChildText("MenuStrip");
Class library usage, coding and language questions.
2 posts • Page 1 of 1