Forum Discussion
rraghvani
2 years agoChampion Level 3
Do you have example code of it not working?
What version of TestComplete are you using?
- aafreen_jamadar2 years agoOccasional Contributor
I am currently on version 15.52.2.7.
Following is the code with the keyboard input:
def start():
hwndSource = Aliases.I_Software.HwndSource_LogonWindow
comboBox = hwndSource.LogonWindow.ProfilesComboBox
comboBox.DropDown()
hwndSource. Keys("a[Enter]")
comboBox.Keys("[Enter]")
time.sleep(30)As far as conditional statements go, I haven't been able to figure out a way to script it.
(I am assuming testcomplete has a different syntax/ built in functions that I'm not used to)
Related Content
- 3 years ago
- 2 years ago