This project is read-only.

Popup on a MDI child

Nov 13, 2009 at 12:05 PM

I'm unable to get a popup menu through a MDI child window with the following message:

"popup is not a member of Core.UIItems.UIItemContainer"

I can however get it through the parent window so it's not a big deal, except for making my code a tiny bit uglier. :-)

Is this working as intended?



Nov 16, 2009 at 6:47 PM

what is the code you are using?

Nov 17, 2009 at 8:10 AM

Here is the code I use:

Dim wsWindow As UIItems.WindowItems.Window = Application.GetWindow("Verkstad", InitializeOption.NoCache.AndIdentifiedBy("Testcase_error_report"))

Dim jobListWindow = wsWindow.MdiChild(SearchCriteria.ByAutomationId("frmJobList"))

Dim dgError = jobListWindow.Get(Of TableItems.Table)(SearchCriteria.ByAutomationId("dgError"))

Dim errorListPopUpMenu As PopUpMenu = wsWindow.Popup
'I would like to use jobListWindow.Popup


Nov 18, 2009 at 1:49 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.