Trying to select Menu item - not working on vista correctly
Posted: Wed Apr 02, 2008 2:08 pm
Guys,
All I'm trying to do is to select a menu item in calc. Nothing really fancy but on vista it's not working as expected. I cannot get my head around this one and used various methods without success.
I can confirm that the following code works on 2003 Server and XP SP2.
What could I be doing wrong? nothing i hope!
All I'm trying to do is to select a menu item in calc. Nothing really fancy but on vista it's not working as expected. I cannot get my head around this one and used various methods without success.
I can confirm that the following code works on 2003 Server and XP SP2.
Code: Select all
// Make sure calculator is set to Standard
Menu menu = new Menu(form);
Console.WriteLine("Selecting the Standard view from Menu");
//Method 1
menu.SelectItemText("View", "Standard");
//Method 2
menu.SelectPosition(2, 1);