gopster1283
10 years agoOccasional Contributor
Accessing popup menu items in DevExressGrids
Hey guys:
So our applications are very grid centric, primarily using DevExpress type classes. Now in one of our functional flows, the user has to rightclick the cell (which invokes a popup menu) and select a menu item.
As far as I can see from testcomplete literature, you have to use an index to select the popup menu. Is there any way thatI can use the actual string value of the menu item?
so in my code I have :
WindowObj.PopupMenu.Click(menuItem)
- menuItem is a string like"[0]" where "0" denotes the first item.
Instead of "[0]" i want to use the actual menu item value.
WindowObj.PopupMenu.Click("Open")
I tried GUI Spying on the popup window, and that gave me no info. When I did a recording, TestComplete recorded the event with code as WindowObj.PopupMenu.Click("[0]")
Any ideas?
So our applications are very grid centric, primarily using DevExpress type classes. Now in one of our functional flows, the user has to rightclick the cell (which invokes a popup menu) and select a menu item.
As far as I can see from testcomplete literature, you have to use an index to select the popup menu. Is there any way thatI can use the actual string value of the menu item?
so in my code I have :
WindowObj.PopupMenu.Click(menuItem)
- menuItem is a string like"[0]" where "0" denotes the first item.
Instead of "[0]" i want to use the actual menu item value.
WindowObj.PopupMenu.Click("Open")
I tried GUI Spying on the popup window, and that gave me no info. When I did a recording, TestComplete recorded the event with code as WindowObj.PopupMenu.Click("[0]")
Any ideas?