Forum Discussion

ARAKOTONDRABESA's avatar
ARAKOTONDRABESA
Contributor
14 years ago

Work with Windows PopupMenu in Windows 7 and XP

Hi!

I have to launch many tests with many Windows OS like Windows XP, Windows 7 and Windows Vista. My problem is when I launch my test scenario in Windows 7 or Windows Vista, I don't have the same name of windows menuitem compared windows XP. 



For example:

in Windows XP  we have -> PopupMenu.Click("cut");

in WIndows 7 and Vista  we have ->  PopupMenu.Click("[3]");



Have you a solution to recover the true name of the popup menu item in Windows Vista and Seven but not the index?

thanks for help!