Forum Discussion
Valentina,
The components you are using are not supported by TestComplete. Since they are not Windows or Controls, it will not display them in the Object Browser.
As far as I can see, you are accessing the needed objects through native methods and properties. This is the right solution in your case. You said that the tested form pauses the script execution. This happens, because the form is modal and you use a native method to display it on the screen. The pause occurs as the method you call - PerformClick - does not exit until the form closes.
To work around the issue, use the Runner.CallObjectMethodAsync method to call the PerformClick method of your form. This will call your method asynchronously, so it will not block the script execution. See Testing Modal Windows for detailed information on this.
BTW, what controls are you using? You can vote for them in the TestComplete Feature Survey on the SmartBear web site:
http://smartbear.com/products/qa-tools/automated-testing/survey/. This way, you will inform the TestComplete team that you need special support for these controls, and perhaps, they will implement it in one of future releases.
Related Content
- 10 years ago
- 19 days ago
- 5 years ago
- 3 years ago
Recent Discussions
- 3 days ago