zakyn
15 years agoOccasional Contributor
Qt Object and calling QT methods
Hello,
I am in trouble with calling method of the qt object. TestComplete helps me and offers me that method but I have a problem with constructing correct parameter.
For Example. I would like to set Text to QT LineEdit control but method setText(object param1) does not work, or I am not able to use it correctly. I use JScript.
I try
Aliases............LineEdit.setText("example");
- the result is bad type of parameter
Of course I can use
Aliases............LineEdit.setFocus();
and then
Aliases............LineEdit.Keys("example");
Could you help me?
My general question is if TestComplete allows to call native public QT methods or set or get public properties of QT objects.
Thanks a lot
Vladimir
I am in trouble with calling method of the qt object. TestComplete helps me and offers me that method but I have a problem with constructing correct parameter.
For Example. I would like to set Text to QT LineEdit control but method setText(object param1) does not work, or I am not able to use it correctly. I use JScript.
I try
Aliases............LineEdit.setText("example");
- the result is bad type of parameter
Of course I can use
Aliases............LineEdit.setFocus();
and then
Aliases............LineEdit.Keys("example");
Could you help me?
My general question is if TestComplete allows to call native public QT methods or set or get public properties of QT objects.
Thanks a lot
Vladimir