Forum Discussion
well i did refer it and found a method called as dropdown(). where it can be used as testobj.dropdown() . but when i look in the list of methods for the radcombobox using the object spy I cannot see the method any where there. then i tried the code below.
code:
sub radcomb
set drop = Sys.Process("EFLT.EO.UI").WPFObject("HwndSource: MainView", "Elektra - QA").WPFObject("MainView", "Elektra - QA", 1).WPFObject("Grid", "", 1).WPFObject("mainTabControl").WPFObject("FeatureView", "", 1).WPFObject("LayoutRoot").WPFObject("StaffView", "", 1).WPFObject("Grid", "", 1).WPFObject("ScrollViewer", "", 1).WPFObject("Grid", "", 1).WPFObject("GroupBox", "Applications", 2).WPFObject("Grid", "", 1).WPFObject("RadGridView", "", 1).WPFObject("GridViewRow", "", 1).WPFObject("GridViewCell", "", 10).WPFObject("RadComboBox", "", 1)
drop.DropDown()
end sub
Whe executed the code i got the message object dropdown doesnt exists.
i even tried the clickitem() and the dropdownbuttonclick but it didnt work.