Forum Discussion
Essentially, you may need to go through OCR to find the text on the screen and click on it.
Alternatively, if you click on the ComboBox to get the drop down without using ClickItem (simple Click method), you may be able to inspect the items in the list in the drop down window and see if there's a way you can find and click on the item that way.
When clicking the drop down in order to open it using click() method, it won't open. it will open and close very quickly. not sure why
- Oferv2 years agoSuper Contributor
OK, I have managed to resolve this prob:
NoOfLang = Aliases.DesignerProcess.DesignerMainWindow.BackstageViewMenu.BackStageWindowPanels.OptionsTabBackStageWindow.LanguageOptionComboBox.Items.SourceCollection.Count
for i in range(NoOfLang):
LangNativeName =Aliases.DesignerProcess.DesignerMainWindow.BackstageViewMenu.BackStageWindowPanels.OptionsTabBackStageWindow.LanguageOptionComboBox.Items.SourceCollection.Item[i].Value.NativeName.OleValue
if LangNativeName == param1:
comboBox.ClickItem(i)break
Hope it will help someone else who has a similar problem.
Thanks for all the help
Ofer
Related Content
- 5 years agopaarmann-ara
- 10 months agolodecesa
- 11 months agomgormsen
- 3 years agoramprabhus
Recent Discussions
- 5 hours agosimonaferrara
- 14 hours agoSubhraDas
- 2 days agotramuntana