Update window menu shortcut test case.

We need to create window menu in a workaround method, and I forget to update this case for Windows.