teddy77777
13 years agoContributor
Can TestComplete emit QT signal?
Here is what I am trying to do.
Example:
combo["QComboBox_setCurrentIndex"](3)
combo["activated"](3)
Set current index works to change the selected item in the combo box but in order to get that change to updated in the program I need to send the activated signal. Doing this results in an "Unspecificed Error" from TC.
I know TC clickitem functionality will do this as well. I am finding that to be slow, and wanted to see if there is way to speed it up. I also am trying to learn how to use the qt native properites and this seemed like a good excersize.
Is there a different way to send this signal?
Example:
combo["QComboBox_setCurrentIndex"](3)
combo["activated"](3)
Set current index works to change the selected item in the combo box but in order to get that change to updated in the program I need to send the activated signal. Doing this results in an "Unspecificed Error" from TC.
I know TC clickitem functionality will do this as well. I am finding that to be slow, and wanted to see if there is way to speed it up. I also am trying to learn how to use the qt native properites and this seemed like a good excersize.
Is there a different way to send this signal?