I want to select sub menu -< what shuld I use ?

Submitted by: Administrator
I am using function PopupSelect() for selecting popup menu item. But it selects main menu only .
I want to select sub menu -< what shuld I use ?
Ex
Window.PopupSelect(xPos, yPos, "File")
and now File menu contains sub menu lets say "NEW" How can I select that ?



Here I am using PopupSelect Function for TreeView.
*************************************************************
Here suppose I want to Select "New" Submenu from File Main Menu
use "/" character for submenu.
"#" character is used only when u passed SubMenu Index
*************************************************************
// For SubMenu Menu
sMenu = "File/New"
Window.PopupSelect(x,y,sMenu)
// For SubMenu Index
sMenu = "File/#1"
Window.PopupSelect(x,y,sMenu)
Submitted by: Administrator

Read Online SilkTest Job Interview Questions And Answers