My test suite was written with the Classic Agent. I recently started testing on Windows Server 2016 and discovered that SilkTest cannot "see" the menu items on the popup menu. I entered an incident with support for this problem and was informed that the Classic Agent is no longer supported. Is there a way to get the contents of a popup menu with the Open Agent, like in the Classic Agent? Here is an example of what I am doing in the Classic Agent:
PushButton SearchFormActions
tag "[DialogBox]#1/[PushButton]$2050"
LeftButtonPopup Popup
POINT Point = {13, 13}
tag "$PopupMenu/({Point.x},{Point.y})"
list of string GetContents ()
return Popup.GetContents ()
LeftButtonPopup Popup
POINT Point = {13, 13}
tag "$PopupMenu/({Point.x},{Point.y})"
list of string GetContents ()
return Popup.GetContents ()
testcase SF55 () appstate none
list of string lsExp = {...}
"Load Search Criteria"
"Save Search Criteria"
"Delete Search Criteria"
list of string lsExp = {...}
"Load Search Criteria"
"Save Search Criteria"
"Delete Search Criteria"
VerifyAndCont (Search.SearchFormActions.GetContents (), lsExp, "contents of Search Form Actions popup menu on Search dialog")
I have used the Open Agent to click the push button and select an item from the popup menu successfully, but I can not find a way to verify the contents of the popup menu like in the above example. The Open Agent recognized the individual menu items on the popup, but not the popup menu as a whole to verify the contents of it.
Thanks for any help that you can provide for this!
Karen Heath