SilkTest Question:

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

Tweet Share WhatsApp

Answer:

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)

Download SilkTest PDF Read All 146 SilkTest Questions
Previous QuestionNext Question
How to read .xls file contents without using the ddt wizard?What is about .vtp file in silktest?