Forum Discussion
Have you read through Testing WPF Applications? You might be able to access the object using WPFObject
- Oferv2 years agoSuper Contributor
Yes I did but, in there it says that the items can be selected using clickitem using caption and this does not work for me https://support.smartbear.com/testcomplete/docs/app-testing/desktop/wpf/control-support.html
When trying to record the item clicking, TC is using index and not caption
def Test1():
App = Aliases.DesignerProcess
comboBox = App .DesignerMainWindow.BackstageViewMenu.BackStageWindowPanels.OptionsTabBackStageWindow.LanguageOptionComboBox
comboBox.ToggleButton.ClickButton(cbChecked)
App .HwndSource_PopupRoot.PopupRoot.DropDownScrollViewer.VScroll.Pos = 182.32000000000002
comboBox.ClickItem(8)
App .HwndSource_DominoMessageBox3.DominoMessageBox.ButtonOk.ClickButton()While I want to use comboBox.ClickItem("English") or any other optional language
Related Content
- 6 years ago
- 2 years ago
- 4 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 5 days ago