Forum Discussion
Code Completion needs to know, when you enter in the unit and the routine name, where to get the information from. In whatever unit you are calling Unit1.mainwindow you need to include a 'USEUNIT call.
'USEUNIT Unit1 Unit1.mainwindow....
If you do this, Code completion should work.
As for creating a runtime object, what you've done is correct for the method. But what it seems you want is to be able to access properties. For this, you need to create properties on your runtime object.
I'd suggest you take a look at the tutorial https://support.smartbear.com/viewarticle/74328/ for creating runtime objects. It walks you through, in detail, how to do exactly what you want.
Hi,
Thank you Tristaanogre.
For the second option i.e. defining properties for Runtime Object it could be done But I'm not intrested in doing this way because I have to define alot of properties and maintenace of Objects and properties is difficult.
I'm intrested in doing it method for First option from your reply, I'm currently using my objectwrapper in this way but it is not working for me. See the attached snapshot and it will be great if it could be done.
Thanks,
- TanyaYatskovska9 years agoSmartBear Alumni (Retired)
Hi Sahmed,
I'm not sure if it's even possible. I recommend that you contact our TestComplete Support Team to investigate this behavior. You can reach out to them here: http://support.smartbear.com/product-list/
- SAHMED9 years agoOccasional Contributor
Thank you for the Update Tanya.
Related Content
- 5 years ago
- 10 years ago
Recent Discussions
- 17 hours ago
- 7 days ago
- 10 days ago