Ravik
13 years agoSuper Contributor
How to get caption of the popup menu & Sub menu
How to get caption of the popup menu & Sub menu for web Application (it's same like window application, example mantain below)
(
(
Sub MenuSample1
' Obtains the Notepad main menu
Set MainMenu = Sys.Process("Notepad").Window("Notepad", "*").MainMenu
' Defines the total number of main menu items
Count = MainMenu.Count
' Iterates through the menu items
For i = 0 To Count - 1
' Obtains the menu item
Set Item = MainMenu.Items(i)
' Posts the item caption to the test log
Log.Message Item.Caption
Next
End Sub)
============
same thing want to get for web application, Please guide me.
Thanks
Ravik